Comments (9)
This does fix the issue for me!
from bracket-lib.
I'll see if I can get a Linux VM going to test this. I'm writing on Windows, which tends to either work or not work spectacularly! I mostly do server-side Linux work, so it may take me a bit to get caught up on this one.
Thanks for letting me know!
from bracket-lib.
I also have this problem on Linux (without Wayland). It seems to be related to window decorations. They appear later than the rest of the window, and the jumps correspond to the size of the window decorations.
from bracket-lib.
Still trying to get a VM up and running (I'm really low on disk space!), but I suspect that the issue is in rltk.rs
, specifically the lines:
WindowEvent::Resized(logical_size) => {
let dpi_factor = wc.window().hidpi_factor();
wc.resize(logical_size.to_physical(dpi_factor));
}
So every time the console receives an update command, it tries to adjust the physical size to handle the logical size (this was from some example code). Commenting it out on Windows doesn't change anything (I think it's an attempt to work around Mac's odd resolution handling), but would mean that the "resize" event sent by the Linux system to handle the addition of window decorations wouldn't trigger a resize (which in turn seems to trigger another resize).
So I'll commit a version that comments this out - any chance one of you could update and give it a go for me, please? I'll keep trying on the VM...
from bracket-lib.
I'll wait to make sure I haven't caused problems anywhere before I close it, but hopefully that'll do it.
from bracket-lib.
I'll open a separate bug for my input issues: #7.
from bracket-lib.
from bracket-lib.
This seems to be fixed for me with the latest rltk_rs.
from bracket-lib.
Appears to be fixed.
from bracket-lib.
Related Issues (20)
- Possible SRGB/gamma issue with wgpu? HOT 2
- Are we production yet?
- Fractal noise scaling
- Zero octave noise
- rltk not building for wasm
- no_std support?
- BTerm set() with float data point HOT 1
- Hello Minimal Terminal crashes with Wayland error HOT 1
- Noise subtract with overflow
- FastNoise::seeded() creates 0 noise
- Add Support for More Font Sizes
- `hello_minimal` exampe crashes with `cross_term` backend enabled (vscode integrated terminal)
- `hello_terminal` example renders incorrectly with `cross_term` enabled only in WSL2 environment
- BLACK must be defined only once in the value namespace of this module
- book unavailable HOT 4
- Possible issue with drawing cerrain wall glyph combinations HOT 4
- Error sending request: Resource temporarily unavailable (exit code 11) HOT 1
- Request: Move terminal init and update logic out of main_loop
- Request: disable RPG-style dice string parsing thingy for `bracket-noise`
- egl: failed to create dri2 screen HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bracket-lib.