advance play cursor in sequencer

This commit is contained in:
🪞👃🪞 2024-06-03 06:51:53 +03:00
parent 4fd208d53f
commit 7c1dc9ce9b
9 changed files with 53 additions and 37 deletions

View file

@ -101,7 +101,7 @@ impl Engine {
stdout
.queue(crossterm::terminal::EnterAlternateScreen)?
.flush()?;
let sleep = std::time::Duration::from_millis(16);
let sleep = std::time::Duration::from_millis(20);
loop {
stdout
.queue(crossterm::terminal::BeginSynchronizedUpdate)?
@ -122,7 +122,7 @@ impl Engine {
crossterm::terminal::disable_raw_mode()?;
break
}
std::thread::sleep(sleep);
//std::thread::sleep(sleep);
}
Ok(())
}