projects
/
lttngtop.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Mapping for j/k to up/down
[lttngtop.git]
/
src
/
cursesdisplay.c
diff --git
a/src/cursesdisplay.c
b/src/cursesdisplay.c
index 82bb81097f758a80568fb615e68ccf9cd67e92ae..304419d83e83a369f720032ab7f2b7c9fba54e95 100644
(file)
--- a/
src/cursesdisplay.c
+++ b/
src/cursesdisplay.c
@@
-1195,6
+1195,7
@@
void *handle_keyboard(void *p)
while((ch = getch())) {
switch(ch) {
/* Move the cursor and scroll */
while((ch = getch())) {
switch(ch) {
/* Move the cursor and scroll */
+ case 'j':
case KEY_DOWN:
if (pref_panel_visible) {
pref_line_selected++;
case KEY_DOWN:
if (pref_panel_visible) {
pref_line_selected++;
@@
-1214,6
+1215,7
@@
void *handle_keyboard(void *p)
break;
case KEY_NPAGE:
break;
break;
case KEY_NPAGE:
break;
+ case 'k':
case KEY_UP:
if (pref_panel_visible) {
if (pref_line_selected > 0)
case KEY_UP:
if (pref_panel_visible) {
if (pref_line_selected > 0)
This page took
0.022454 seconds
and
4
git commands to generate.