Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
b139671c
Commit
b139671c
authored
Jun 19, 2016
by
Hisham
Browse files
Moving left and right needs a full redraw.
parent
adcc944e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Panel.c
View file @
b139671c
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment