summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2021-02-15 16:43:39 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2021-02-15 16:43:39 +0800
commitee7369022611745ec9c55beddf1b907f13ed3559 (patch)
treec6cbceafd18bd35e7f2646ac90db996df58cd370 /src/main.rs
parent6d7b3cd062214f2cc66886d49d1a60406204abf3 (diff)
Enforce drawing once after traversal is done
Otherwise some 'scanning' message is likely to remain if there is no additional user input.
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 ce2e728..a89eb46 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -44,7 +44,7 @@ fn main() -> Result<()> {
)?
.map(|(keys_rx, mut app)| {
let res = app.process_events(&mut terminal, keys_rx.into_iter());
- // Leak app memory to avoid having to wait for the hashmap to deallocate, which causes a noticable delay shortly before the the
+ // Leak app memory to avoid having to wait for the hashmap to deallocate, which causes a noticeable delay shortly before the the
// program exits anyway.
std::mem::forget(app);
res