ui: Hide cursor on all occasions

embed
Manos Pitsidianakis 2018-08-30 14:48:18 +03:00
parent 751febeb9e
commit d0315a0259
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 4 additions and 2 deletions

View File

@ -362,9 +362,11 @@ impl State<std::io::Stdout> {
write!(
self.stdout(),
"{}{}",
"{}{}{}{}",
termion::screen::ToAlternateScreen,
cursor::Hide
cursor::Hide,
clear::All,
cursor::Goto(1, 1)
).unwrap();
self.flush();
}