summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
Diffstat (limited to 'ted.c')
-rw-r--r--ted.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ted.c b/ted.c
index 739a1a5..1682c6d 100644
--- a/ted.c
+++ b/ted.c
@@ -36,6 +36,7 @@ enum editor_key {
ARROW_RIGHT,
ARROW_UP,
ARROW_DOWN,
+ DEL_KEY,
HOME_KEY,
END_KEY,
PAGE_UP,
@@ -111,6 +112,7 @@ editor_read_key()
if (seq[2] == '~') {
switch (seq[1]) {
case '1': return HOME_KEY;
+ case '3': return DEL_KEY;
case '4': return END_KEY;
case '5': return PAGE_UP;
case '6': return PAGE_DOWN;