-
-
Save Shadoka/63b282739fb2ccc7d7b8f3c88774b42a to your computer and use it in GitHub Desktop.
reproducable read_key bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
let term = Term::stdout(); | |
while match term.read_key().unwrap() { | |
Key::Backspace => { | |
true | |
}, | |
_ => false | |
} {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment