diff options
Diffstat (limited to 'src/bin/main.rs')
-rw-r--r-- | src/bin/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/main.rs b/src/bin/main.rs index f5e2371f..bbad61b3 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -157,6 +157,9 @@ fn main() -> Result<()> { // TODO: Would be good to instead use a mix of is_terminated check + recv. Probably use a termination event instead. if let Ok(recv) = receiver.recv_timeout(Duration::from_millis(TICK_RATE_IN_MILLISECONDS)) { match recv { + BottomEvent::Resize => { + try_drawing(&mut terminal, &mut app, &mut painter)?; + } BottomEvent::KeyInput(event) => { if handle_key_event_or_break(event, &mut app, &collection_thread_ctrl_sender) { break; |