Forgot to set size field upon detecting a resize...

This commit is contained in:
ClementTsang 2020-03-10 21:42:12 -04:00
parent 49bd298528
commit 05e0e6bb82

View file

@ -147,6 +147,8 @@ impl Painter {
self.width = current_width;
} else if self.height != current_height || self.width != current_width {
app_state.is_resized = true;
self.height = current_height;
self.width = current_width;
}
terminal.autoresize()?;