diff options
author | Hisham <hisham@gobolinux.org> | 2016-06-19 18:05:18 -0300 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-06-19 18:05:18 -0300 |
commit | b139671cbd9f5c56e275db0e70447476cac74cbe (patch) | |
tree | 755ce3d9efe7da3398f3c47cc2d1640b56eca951 /Panel.c | |
parent | adcc944e3529c7ef35f269f2704e1a9f1f8a9e87 (diff) |
Moving left and right needs a full redraw.
Diffstat (limited to 'Panel.c')
-rw-r--r-- | Panel.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |