summaryrefslogtreecommitdiffstats
path: root/lib/libedit
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-10-22 18:49:04 +0000
committerbde <bde@FreeBSD.org>1995-10-22 18:49:04 +0000
commit19aac64ab3d1ede87376f1630955be76395bde09 (patch)
treeea06928f05ef8972c90cd87114b5d42a4d931d67 /lib/libedit
parent87d99142ce4f9c7ebefe78846220b857e9220eb0 (diff)
downloadFreeBSD-src-19aac64ab3d1ede87376f1630955be76395bde09.zip
FreeBSD-src-19aac64ab3d1ede87376f1630955be76395bde09.tar.gz
Update to 4.4lite2 (initialize arrow key data completely).
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/term.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libedit/term.c b/lib/libedit/term.c
index e85e41b..6ab407b 100644
--- a/lib/libedit/term.c
+++ b/lib/libedit/term.c
@@ -35,7 +35,7 @@
*/
#if !defined(lint) && !defined(SCCSID)
-static char sccsid[] = "@(#)term.c 8.1 (Berkeley) 6/4/93";
+static char sccsid[] = "@(#)term.c 8.2 (Berkeley) 4/30/95";
#endif /* not lint && not SCCSID */
/*
@@ -879,18 +879,22 @@ term_init_arrow(el)
fkey_t *arrow = el->el_term.t_fkey;
arrow[A_K_DN].name = "down";
+ arrow[A_K_DN].key = T_kd;
arrow[A_K_DN].fun.cmd = ED_NEXT_HISTORY;
arrow[A_K_DN].type = XK_CMD;
arrow[A_K_UP].name = "up";
+ arrow[A_K_UP].key = T_ku;
arrow[A_K_UP].fun.cmd = ED_PREV_HISTORY;
arrow[A_K_UP].type = XK_CMD;
arrow[A_K_LT].name = "left";
+ arrow[A_K_LT].key = T_kl;
arrow[A_K_LT].fun.cmd = ED_PREV_CHAR;
arrow[A_K_LT].type = XK_CMD;
arrow[A_K_RT].name = "right";
+ arrow[A_K_RT].key = T_kr;
arrow[A_K_RT].fun.cmd = ED_NEXT_CHAR;
arrow[A_K_RT].type = XK_CMD;
OpenPOWER on IntegriCloud