Reduce flicker when resizing in option menus
Do not update the main windows when resizing the terminal in the general options menu or in the notification options menu. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
@@ -786,7 +786,7 @@ void notify_config_bar(void)
|
||||
if (resize) {
|
||||
resize = 0;
|
||||
wins_get_config();
|
||||
wins_reset();
|
||||
wins_reset_noupdate();
|
||||
listbox_resize(&lb, 0, 0, notify_bar() ? row - 3 : row - 2, col);
|
||||
listbox_draw_deco(&lb);
|
||||
delwin(win[STA].p);
|
||||
|
||||
Reference in New Issue
Block a user