bolphen
bolphen
I think the issue is when a `Chart` only has one label: `tui` is trying to divide by the number of labels minus 1 (which is arguably a bug)
Just looked into it again. The issue is here https://github.com/max-niederman/ttyper/blob/9790d540b1f0023d4294416630d395fb7d8a5bbd/src/ui.rs#L325 `tui` expects at least two labels in the y-axis. If the wpm range is too small (which can often be...
Here's one version that I've been using https://github.com/bolphen/ttyper/commit/c4a19803690de1a7fb85c6c4387af207e4b90401 A byproduct of marking individual characters is that it also fixes some issues mentioned in https://github.com/max-niederman/ttyper/issues/77 (for example, accented letters like ä...
@Sntx626 Just made a PR. Though there's already another one #90 doing a similar thing.
The issue still persists and I think the culprit is here https://github.com/not-fl3/macroquad/blob/471f5b7b359ec71c89f97e765784b722fc87d4dc/src/lib.rs#L687 I'm not sure what exactly `set_cursor_grab` is doing, but that line is causing all the `mouse_motion` events and...
Not an expert on X11 but changing this part in `miniquad` seems to work for me (remove also the return earlier) https://github.com/not-fl3/miniquad/blob/f6780f19d3592077019872850d00e5eb9e92a22d/src/native/linux_x11.rs#L181-L185 ```rust let wm_fullscreen = (self.libx11.XInternAtom)( self.display, if fullscreen...
I think there are two separated issues here. About the key repeat issue: you shouldn't be handling key repeat on your own outside Miniquad. This is just a Wayland backend...
Ok I see. Still, platforms have their own configurations for initial delay and repeat rate (for example the `repeat_info` event on Wayland), so you are explicitly ignoring that. Tho I...
That's a good point with the `WASD`. On the other hand, Miniquad can also be used for non-game projects, and that's where the current keyboard input API becomes problematic: you'll...
Just double-checked: on Linux the `KeyCode` is actually `KeySym` which means you get `KeyCode::A` when you press the first key of the first row on an AZERTY keyboard and not...