mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +01:00
advance play cursor in sequencer
This commit is contained in:
parent
4fd208d53f
commit
7c1dc9ce9b
9 changed files with 53 additions and 37 deletions
|
|
@ -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(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue