mirror of
https://github.com/Tha14/toxic.git
synced 2026-01-25 02:53:15 +01:00
Greatly reduce redundant window refreshing
This should substantially reduce CPU usage and possibly fix some issues with interface jittering/flashing
This commit is contained in:
@@ -346,5 +346,9 @@ bool input_handle(ToxWindow *self, wint_t key, int x, int mx_x)
|
||||
}
|
||||
}
|
||||
|
||||
if (match) {
|
||||
flag_interface_refresh();
|
||||
}
|
||||
|
||||
return match;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user