Skip to content
Snippets Groups Projects
Commit a84670a5 authored by James Campos's avatar James Campos Committed by GitHub
Browse files

Update keys.rs

fix message not appearing
parent 95bce609
No related branches found
No related tags found
1 merge request!37Update keys.rs
......@@ -13,6 +13,7 @@ fn main() {
termion::clear::All,
termion::cursor::Goto(1, 1),
termion::cursor::Hide).unwrap();
stdout.flush().unwrap();
for c in stdin.keys() {
write!(stdout, "{}{}", termion::cursor::Goto(1, 1), termion::clear::CurrentLine).unwrap();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment