mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 21:14:35 +03:00
Abstract resize handling by adding a new Htop reaction
This commit is contained in:

committed by
BenBE

parent
b9e69223d0
commit
68f2bfea61
@ -243,6 +243,10 @@ void ScreenManager_run(ScreenManager* this, Panel** lastFocus, int* lastKey) {
|
||||
if (result & REDRAW) {
|
||||
force_redraw = true;
|
||||
}
|
||||
if (result & RESIZE) {
|
||||
ScreenManager_resize(this);
|
||||
force_redraw = true;
|
||||
}
|
||||
if (result & RESCAN) {
|
||||
rescan = true;
|
||||
sortTimeout = 0;
|
||||
|
Reference in New Issue
Block a user