summaryrefslogtreecommitdiffstats
path: root/Panel.c
diff options
context:
space:
mode:
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;