summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-11-16 14:10:24 -0500
committerJesse Luehrs <doy@tozt.net>2021-11-16 14:10:24 -0500
commit9edb92d2715a7d0bd67a977454f1c648367dad40 (patch)
treea70d8851de516e81da696991a865e4de2f72d7b7 /src/main.rs
parent0e102f53da61de230de8b4c4879c046b8c6baf4d (diff)
downloadnbsh-9edb92d2715a7d0bd67a977454f1c648367dad40.tar.gz
nbsh-9edb92d2715a7d0bd67a977454f1c648367dad40.zip
add ^L (or ^E^L) to force-redraw the screen
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
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);