Resize panels properly
Rewrite the panel resize code and remove the code that reinitializes the caption and the selected item when the window is resized. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
@@ -303,7 +303,7 @@ void custom_sidebar_config(void)
|
||||
resize = 0;
|
||||
wins_reset();
|
||||
} else {
|
||||
wins_reinit_panels();
|
||||
wins_resize_panels();
|
||||
wins_update_border(FLAG_ALL);
|
||||
wins_update_panels(FLAG_ALL);
|
||||
keys_display_bindings_bar(win[STA].p, bindings,
|
||||
|
||||
Reference in New Issue
Block a user