ui: Hide cursor on all occasions
parent
751febeb9e
commit
d0315a0259
|
@ -362,9 +362,11 @@ impl State<std::io::Stdout> {
|
||||||
|
|
||||||
write!(
|
write!(
|
||||||
self.stdout(),
|
self.stdout(),
|
||||||
"{}{}",
|
"{}{}{}{}",
|
||||||
termion::screen::ToAlternateScreen,
|
termion::screen::ToAlternateScreen,
|
||||||
cursor::Hide
|
cursor::Hide,
|
||||||
|
clear::All,
|
||||||
|
cursor::Goto(1, 1)
|
||||||
).unwrap();
|
).unwrap();
|
||||||
self.flush();
|
self.flush();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue