From 6a3afde29cbf3d25d590f1c0430bdfc6a837ac64 Mon Sep 17 00:00:00 2001 From: Michael Sippel Date: Wed, 29 Nov 2023 17:38:30 +0100 Subject: [PATCH] tty application: set shorter update interval --- lib-nested-tty/src/tty_application.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-nested-tty/src/tty_application.rs b/lib-nested-tty/src/tty_application.rs index fe4e48f..abcbf0b 100644 --- a/lib-nested-tty/src/tty_application.rs +++ b/lib-nested-tty/src/tty_application.rs @@ -58,7 +58,7 @@ impl TTYApplication { async fn update_loop(port: ViewPort) { loop { port.update(); - async_std::task::sleep(std::time::Duration::from_millis(500)).await; + async_std::task::sleep(std::time::Duration::from_millis(50)).await; } }