Always redraw on resize

This commit is contained in:
Jeremy Soller 2022-10-26 18:13:14 -06:00
parent 99ae0d1bee
commit 536c24355c
No known key found for this signature in database
GPG key ID: E988B49EE78A7FB1
3 changed files with 3 additions and 0 deletions

View file

@ -190,6 +190,7 @@ fn main() {
},
EventOption::Resize(event) => {
buffer.set_size(event.width as i32, event.height as i32);
buffer.redraw = true;
},
EventOption::Scroll(event) => {
buffer.action(TextAction::Scroll {