mirror of
https://github.com/xvxx/phetch
synced 2024-11-10 13:10:54 +00:00
restore cursor
This commit is contained in:
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…
Reference in New Issue
Block a user