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
1 changed files with 2 additions and 0 deletions

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()?;