We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug An error happens when the Esc key is pressed on Windows
Esc
To Reproduce Steps to reproduce the behavior:
cargo run --example event-read
> cargo run --example event-read Finished dev [unoptimized + debuginfo] target(s) in 0.22s Running `target\debug\examples\event-read.exe` Blocking read() - Keyboard, mouse, focus and terminal resize events enabled - Hit "c" to print current cursor position - Use Esc to quit Event: Key(KeyEvent { code: Enter, modifiers: KeyModifiers(0x0), kind: Release, state: KeyEventState(0x0) }) Event: Key(KeyEvent { code: Esc, modifiers: KeyModifiers(0x0), kind: Press, state: KeyEventState(0x0) }) Error: Custom { kind: Unsupported, error: "Keyboard progressive enhancement not implemented for the legacy Windows API." } error: process didn't exit successfully: `target\debug\examples\event-read.exe` (exit code: 1)
Expected behavior Esc should quit without error.
OS
Terminal/Console
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
An error happens when the
Esc
key is pressed on WindowsTo Reproduce
Steps to reproduce the behavior:
cargo run --example event-read
Esc
Expected behavior
Esc
should quit without error.OS
Terminal/Console
The text was updated successfully, but these errors were encountered: