aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-09-01 08:16:00 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-09-01 08:16:00 +0000
commit09059a0b45214963cd747eaedf0297e7d6152000 (patch)
tree8218d66a2b054e4ee35e72dffa93930a2f5838ad /gnu
parente3bc07db0d19f98ebb887e43335ddde6f9b37ed4 (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libdialog/ui_objects.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/lib/libdialog/ui_objects.c b/gnu/lib/libdialog/ui_objects.c
index c588b94a9464..e1ef01444aed 100644
--- a/gnu/lib/libdialog/ui_objects.c
+++ b/gnu/lib/libdialog/ui_objects.c
@@ -122,6 +122,7 @@ ReadObj(ComposeObj *Obj)
break;
}
switch(ret) {
+ case KEY_DOWN:
case SEL_CR:
case SEL_TAB: /* move to the next object in the list */
if (o->next != NULL) {
@@ -130,6 +131,8 @@ ReadObj(ComposeObj *Obj)
o = Obj; /* beginning of the list */
}
break;
+
+ case KEY_UP:
case SEL_BACKTAB: /* move to the previous object in the list */
if (o->prev != NULL) {
o = o->prev; /* previous object */
@@ -137,6 +140,7 @@ ReadObj(ComposeObj *Obj)
o = last; /* end of the list */
}
break;
+
case KEY_F(1): /* display help_file */
case '?':
display_helpfile();
@@ -177,6 +181,7 @@ PollObj(ComposeObj **Obj)
break;
}
switch(ret) {
+ case KEY_DOWN:
case SEL_CR:
case SEL_TAB: /* move to the next object in the list */
if ((*Obj)->next != NULL) {
@@ -185,6 +190,8 @@ PollObj(ComposeObj **Obj)
*Obj = first; /* beginning of the list */
}
break;
+
+ case KEY_UP:
case SEL_BACKTAB: /* move to the previous object in the list */
if ((*Obj)->prev != NULL) {
*Obj = (*Obj)->prev; /* previous object */