diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-02-01 22:44:16 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-02-01 22:44:16 +0100 |
commit | 6e42b07d2082c89442c9026bcfef3ad832e8c40b (patch) | |
tree | 4516c62ae3dd57c54c7c15db1e7680312379785c | |
parent | 08ed996fe1cb0943d74bb5f464a857b3f5d734eb (diff) | |
download | tdv-6e42b07d2082c89442c9026bcfef3ad832e8c40b.tar.gz tdv-6e42b07d2082c89442c9026bcfef3ad832e8c40b.tar.xz tdv-6e42b07d2082c89442c9026bcfef3ad832e8c40b.zip |
Or let's rather do it like this
-rw-r--r-- | src/sdtui.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 (); |