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 KEY_CTRL('A'):
|
||||||
case '^':
|
case '^':
|
||||||
this->scrollH = 0;
|
this->scrollH = 0;
|
||||||
|
this->needsRedraw = true;
|
||||||
break;
|
break;
|
||||||
case KEY_CTRL('E'):
|
case KEY_CTRL('E'):
|
||||||
case '$':
|
case '$':
|
||||||
this->scrollH = MAX(this->selectedLen - this->w, 0);
|
this->scrollH = MAX(this->selectedLen - this->w, 0);
|
||||||
|
this->needsRedraw = true;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue