mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-23 05:34:57 +02:00
Forgot to set size field upon detecting a resize...
This commit is contained in:
parent
49bd298528
commit
05e0e6bb82
@ -147,6 +147,8 @@ impl Painter {
|
|||||||
self.width = current_width;
|
self.width = current_width;
|
||||||
} else if self.height != current_height || self.width != current_width {
|
} else if self.height != current_height || self.width != current_width {
|
||||||
app_state.is_resized = true;
|
app_state.is_resized = true;
|
||||||
|
self.height = current_height;
|
||||||
|
self.width = current_width;
|
||||||
}
|
}
|
||||||
|
|
||||||
terminal.autoresize()?;
|
terminal.autoresize()?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user