restore cursor

pull/6/head
dvkt 5 years ago
parent 6a93b7537a
commit 5cfb781a3a

@ -195,12 +195,13 @@ impl UI {
return;
}
print!(
"\r{}{}{}{}{}",
"\r{}{}{}{}{}{}",
termion::cursor::Hide,
label,
".".repeat(i),
termion::clear::AfterCursor,
color::Fg(color::Reset)
color::Fg(color::Reset),
termion::cursor::Show,
);
stdout().flush();
thread::sleep(Duration::from_millis(350));

Loading…
Cancel
Save