projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6993af8
)
ui/ncurses: Interpret left/right keys as up/down
author
Samuel Mendoza-Jonas
<sam@mendozajonas.com>
Mon, 9 May 2016 01:41:30 +0000
(11:41 +1000)
committer
Samuel Mendoza-Jonas
<sam@mendozajonas.com>
Tue, 24 May 2016 01:08:15 +0000
(11:08 +1000)
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
ui/ncurses/nc-widgets.c
patch
|
blob
|
history
diff --git
a/ui/ncurses/nc-widgets.c
b/ui/ncurses/nc-widgets.c
index 98d30cc8686cf76e67694de24e83ebf889fd4267..c5c4cec6faad311473802b3700ef7207d2e7b58a 100644
(file)
--- a/
ui/ncurses/nc-widgets.c
+++ b/
ui/ncurses/nc-widgets.c
@@
-1129,12
+1129,14
@@
bool widgetset_process_key(struct nc_widgetset *set, int key)
tab = true;
/* fall through */
case KEY_UP:
+ case KEY_LEFT:
req = REQ_SPREV_FIELD;
break;
case '\t':
tab = true;
/* fall through */
case KEY_DOWN:
+ case KEY_RIGHT:
req = REQ_SNEXT_FIELD;
break;
case KEY_PPAGE: