tty application: set shorter update interval
This commit is contained in:
parent
39fbae7740
commit
6a3afde29c
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ impl TTYApplication {
|
||||||
async fn update_loop(port: ViewPort<dyn TerminalView>) {
|
async fn update_loop(port: ViewPort<dyn TerminalView>) {
|
||||||
loop {
|
loop {
|
||||||
port.update();
|
port.update();
|
||||||
async_std::task::sleep(std::time::Duration::from_millis(500)).await;
|
async_std::task::sleep(std::time::Duration::from_millis(50)).await;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue