summaryrefslogtreecommitdiffstats
path: root/Panel.c
diff options
context:
space:
mode:
authorHisham <hisham@gobolinux.org>2016-06-19 18:05:18 -0300
committerHisham <hisham@gobolinux.org>2016-06-19 18:05:18 -0300
commitb139671cbd9f5c56e275db0e70447476cac74cbe (patch)
tree755ce3d9efe7da3398f3c47cc2d1640b56eca951 /Panel.c
parentadcc944e3529c7ef35f269f2704e1a9f1f8a9e87 (diff)
Moving left and right needs a full redraw.
Diffstat (limited to 'Panel.c')
-rw-r--r--Panel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Panel.c b/Panel.c
index a22b36f0..579a82cc 100644
--- a/Panel.c
+++ b/Panel.c
@@ -439,10 +439,12 @@ bool Panel_onKey(Panel* this, int key) {
case KEY_CTRL('A'):
case '^':
this->scrollH = 0;
+ this->needsRedraw = true;
break;
case KEY_CTRL('E'):
case '$':
this->scrollH = MAX(this->selectedLen - this->w, 0);
+ this->needsRedraw = true;
break;
default:
return false;

© 2014-2024 Faster IT GmbH | imprint | privacy policy