Merge pull request #37 from aeosynth/patch-1

Update keys.rs
This commit is contained in:
ticki 2016-07-25 15:20:21 +02:00 committed by GitHub
commit dcc371356d
1 changed files with 1 additions and 0 deletions

View File

@ -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();