summaryrefslogtreecommitdiffstats
path: root/MainPanel.c
diff options
context:
space:
mode:
authorHisham <hisham@gobolinux.org>2016-06-15 12:45:23 -0300
committerHisham <hisham@gobolinux.org>2016-06-15 12:45:23 -0300
commit0128d222b94adab6b258f417722f298013a33327 (patch)
tree83f7fff3eaa158b246af2a22ca55598d7cff6abb /MainPanel.c
parent1a13b4d0f4c02f13ec8a06f7bee9b1dc028434d5 (diff)
Added Ctrl+A and Ctrl+E to go to beginning and end of line.
(Also, '^' and '$') Closes #508.
Diffstat (limited to 'MainPanel.c')
-rw-r--r--MainPanel.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/MainPanel.c b/MainPanel.c
index 708a0775..7aca7ed0 100644
--- a/MainPanel.c
+++ b/MainPanel.c
@@ -105,20 +105,6 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) {
} else {
reaction |= HTOP_KEEP_FOLLOWING;
}
- switch (ch) {
- case KEY_LEFT:
- case KEY_CTRLB:
- if (super->scrollH > 0) {
- super->scrollH -= CRT_scrollHAmount;
- super->needsRedraw = true;
- }
- return HANDLED;
- case KEY_RIGHT:
- case KEY_CTRLF:
- super->scrollH += CRT_scrollHAmount;
- super->needsRedraw = true;
- return HANDLED;
- }
}
if (reaction & HTOP_REDRAW_BAR) {

© 2014-2024 Faster IT GmbH | imprint | privacy policy