From 6e42b07d2082c89442c9026bcfef3ad832e8c40b Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sun, 1 Feb 2015 22:44:16 +0100
Subject: Or let's rather do it like this
---
src/sdtui.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
(limited to 'src')
diff --git a/src/sdtui.c b/src/sdtui.c
index ed95362..ef6f6a3 100644
--- a/src/sdtui.c
+++ b/src/sdtui.c
@@ -1004,9 +1004,8 @@ app_process_keysym (Application *self, termo_key_t *event)
[TERMO_SYM_RIGHT] = USER_ACTION_INPUT_RIGHT,
[TERMO_SYM_BACKSPACE] = USER_ACTION_INPUT_DELETE_PREVIOUS,
- // XXX: what's the difference?
+ [TERMO_SYM_DEL] = USER_ACTION_INPUT_DELETE_PREVIOUS,
[TERMO_SYM_DELETE] = USER_ACTION_INPUT_DELETE_NEXT,
- [TERMO_SYM_DEL] = USER_ACTION_INPUT_DELETE_NEXT,
};
static ActionMap actions_alt =
{
@@ -1249,7 +1248,6 @@ G_GNUC_END_IGNORE_DEPRECATIONS
if (!(app.tk = termo_new (STDIN_FILENO, NULL, 0)))
abort ();
- termo_set_canonflags (app.tk, TERMO_CANON_DELBS);
if (!initscr () || nonl () == ERR)
abort ();
--
cgit v1.2.3-70-g09d2