chore(deps): upgrade to termion-3.0.0

This commit is contained in:
graelo 2024-02-24 00:31:15 +01:00
parent f60855cc64
commit 52f902b5e1
3 changed files with 161 additions and 121 deletions

View file

@ -560,11 +560,9 @@ impl<'a> ViewController<'a> {
uppercased,
output_destination,
});
} else {
// The prefix of a hint was entered, but we
// still need more keys.
continue;
}
// The prefix of a hint was entered, but we
// still need more keys.
}
// Unknown keys are ignored.
@ -589,9 +587,9 @@ impl<'a> ViewController<'a> {
let mut stdin = termion::async_stdin();
let mut stdout = io::stdout()
.into_alternate_screen()
.expect("Cannot access alternate screen.")
.into_raw_mode()
.expect("Cannot access alternate screen.")
.into_alternate_screen()
.expect("Cannot access alternate screen.");
// stdout.write(cursor::Hide.into()).unwrap();