legacy_TReq
legacy_TReq copied to clipboard
Redraw UI on terminal window resize events
Currently, when you resize the terminal window, it breaks the UI:
Window resize events are provided by the Crossterm crate, which is already in use, here's an example of that: https://github.com/ratatui-org/ratatui/discussions/220#discussioncomment-6140110
CrosstermEvent::Resize(x, y) => {
_sender.send(Event::Resize(x, y)).unwrap();
},
Not sure if this should be a bug or enhancement request.