Skip to content

Commit

Permalink
resize event fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacperacy committed May 11, 2024
1 parent 8db7a81 commit 4b8718f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ async fn main() -> AppResult<()> {
handle_key_events(key_event, &mut app)?;
tui.draw(&mut app)?;
}
Event::Mouse(_) => {}
Event::Resize(_, _) => {}
Event::Mouse(_) => tui.draw(&mut app)?,
Event::Resize(_, _) => tui.draw(&mut app)?,
}
}

Expand Down

0 comments on commit 4b8718f

Please sign in to comment.