Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(examples): fix key handling in constraints #1066

Merged
merged 3 commits into from Apr 27, 2024

Conversation

psobolik
Copy link
Contributor

@psobolik psobolik commented Apr 26, 2024

Add check for KeyEventKind::Press to constraints example's event handler to eliminate double keys
on Windows.

Fixes: #1062

Add check for `KeyEventKind::Press` to constraints
example's event handler to eliminate double keys
on Windows.
examples/constraints.rs Outdated Show resolved Hide resolved
@joshka joshka merged commit 20fc0dd into ratatui-org:main Apr 27, 2024
32 of 33 checks passed
joshka added a commit to nowNick/ratatui that referenced this pull request May 24, 2024
Add check for `KeyEventKind::Press` to constraints example's event
handler to eliminate double keys
on Windows.

Fixes: ratatui-org#1062

---------

Co-authored-by: Josh McKinney <joshka@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Constraints example does not handle keys correctly on Windows
3 participants