From 9edb92d2715a7d0bd67a977454f1c648367dad40 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 16 Nov 2021 14:10:24 -0500 Subject: add ^L (or ^E^L) to force-redraw the screen --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 5c59f08..6247d9f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,7 +26,7 @@ async fn async_main() -> anyhow::Result<()> { let (action_w, action_r) = async_std::channel::unbounded(); let mut state = state::State::new(action_w, output); - state.render().await.unwrap(); + state.render(true).await.unwrap(); let state = util::mutex(state); -- cgit v1.2.3-54-g00ecf