Merge branch 'master' into fix_cpu_scroll

This commit is contained in:
Clement Tsang 2020-03-10 22:21:08 -04:00 committed by GitHub
commit 6c5f95aa5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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