aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/custom.c21
1 files changed, 16 insertions, 5 deletions
diff --git a/src/custom.c b/src/custom.c
index bccc1cc..1f75978 100644
--- a/src/custom.c
+++ b/src/custom.c
@@ -640,14 +640,25 @@ custom_sidebar_config (void)
wgetch (hwin.win.p);
wins_scrollwin_delete (&hwin);
break;
+ case KEY_RESIZE:
+ break;
default:
continue;
}
- wins_reinit_panels ();
- wins_update_border ();
- wins_update_panels ();
- keys_display_bindings_bar (win[STA].p, binding, 0, binding_size);
- wins_doupdate ();
+
+ if (resize)
+ {
+ resize = 0;
+ wins_reset ();
+ }
+ else
+ {
+ wins_reinit_panels ();
+ wins_update_border ();
+ wins_update_panels ();
+ keys_display_bindings_bar (win[STA].p, binding, 0, binding_size);
+ wins_doupdate ();
+ }
}
}