mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-23 12:43:09 +00:00
Forgot to set size field upon detecting a resize...
This commit is contained in:
parent
49bd298528
commit
05e0e6bb82
1 changed files with 2 additions and 0 deletions
|
@ -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()?;
|
||||
|
|
Loading…
Reference in a new issue