aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 8606420..71408ae 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -76,9 +76,10 @@ fn render(mut stdout: impl Write, school_of_fish: &Vec<Turbofish>, columns: u16)
}
fn main() {
+ let mut rng = thread_rng();
let mut stdin = async_stdin().bytes();
let mut stdout = stdout().into_raw_mode().unwrap();
- let mut rng = thread_rng();
+ let mut stdout = termion::cursor::HideCursor::from(stdout);
let (columns, lines) = terminal_size().unwrap();