Always redraw on resize
This commit is contained in:
parent
99ae0d1bee
commit
536c24355c
3 changed files with 3 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue