summaryrefslogtreecommitdiffstats
path: root/IncSet.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-12-10 18:34:57 -0200
committerHisham Muhammad <hisham@gobolinux.org>2015-12-10 18:34:57 -0200
commit563abbc44b282758ace3897f59a37ff3d7fcb7ba (patch)
tree83516b6dafcbaa42987bb5ab15857a1a7d0205ad /IncSet.c
parentcccc18dd2f820c3eba3a495eb2265d682c77d718 (diff)
parent065aab5247012498f3c00fb5edf7712672c0a40e (diff)
Merge pull request #319 from acatton/master
Redraw the panel when resizing the window during an incremental search
Diffstat (limited to 'IncSet.c')
-rw-r--r--IncSet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/IncSet.c b/IncSet.c
index 2b1ad392..93be6b3a 100644
--- a/IncSet.c
+++ b/IncSet.c
@@ -169,6 +169,8 @@ bool IncSet_handleKey(IncSet* this, int ch, Panel* panel, IncMode_GetPanelValue
IncMode_reset(mode);
}
}
+ } else if (ch == KEY_RESIZE) {
+ Panel_resize(panel, COLS, LINES-panel->y-1);
} else {
if (mode->isFilter) {
filterChanged = true;