diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2018-07-24 14:37:42 +0300 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-06-10 19:40:25 +0300 |
commit | f1722691e2ec3d0372ff7c3c33c2bca548a54624 (patch) | |
tree | 93977ed9908264540c59465e9541d31038bf8455 /ui | |
parent | 2df22c2da9535e4f1d45b59d768745b5455fa424 (diff) |
Hide cursor after return to alternate screen
Diffstat (limited to 'ui')
-rw-r--r-- | ui/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/lib.rs b/ui/src/lib.rs index 669a8fe5..76af9dca 100644 --- a/ui/src/lib.rs +++ b/ui/src/lib.rs @@ -252,7 +252,7 @@ impl State<std::io::Stdout> { s.lock(); self.stdout = Some(AlternateScreen::from(s.into_raw_mode().unwrap())); - write!(self.stdout(), "{}", termion::screen::ToAlternateScreen).unwrap(); + write!(self.stdout(), "{}{}", termion::screen::ToAlternateScreen, cursor::Hide).unwrap(); self.flush(); } } |