slackline: add (another) vt-sequence for <End> - lchat - A line oriented chat front end for ii.
HTML git clone git://git.suckless.org/lchat
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit 9bebbcf2af28fd16249ab2de19a86d9db390a9b1
DIR parent f212a3b26b2b248aa41c50f6393564cf1e29dbc2
HTML Author: Tom Schwindl <schwindl@posteo.de>
Date: Sat, 22 Oct 2022 22:01:57 +0200
slackline: add (another) vt-sequence for <End>
Some terminal emulators, like st, emit ^[[4~ when the <End> key is pressed.
This is a vt-sequence and analogue to the xterm-sequence ^[[F.
Diffstat:
M slackline.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/slackline.c b/slackline.c
@@ -200,6 +200,7 @@ sl_keystroke(struct slackline *sl, int key)
case '7':
sl_move(sl, HOME);
break;
+ case '4':
case '8':
sl_move(sl, END);
break;