Commit b139671c authored by Hisham's avatar Hisham
Browse files

Moving left and right needs a full redraw.

parent adcc944e
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment