From b139671cbd9f5c56e275db0e70447476cac74cbe Mon Sep 17 00:00:00 2001 From: Hisham Date: Sun, 19 Jun 2016 18:05:18 -0300 Subject: Moving left and right needs a full redraw. --- Panel.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Panel.c') 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; -- cgit v1.2.3