mirror of https://github.com/xzeldon/htop.git
Moving left and right needs a full redraw.
This commit is contained in:
parent
adcc944e35
commit
b139671cbd
2
Panel.c
2
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;
|
||||
|
|
Loading…
Reference in New Issue