summaryrefslogtreecommitdiff
path: root/src/sdtui.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-02-01 22:32:49 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-02-01 22:32:49 +0100
commit08ed996fe1cb0943d74bb5f464a857b3f5d734eb (patch)
tree1d4688a304bda8194b8f7fdc2e6a239de05f1591 /src/sdtui.c
parentbb9802f83d5220fecee046960d8fb528210123b2 (diff)
downloadtdv-08ed996fe1cb0943d74bb5f464a857b3f5d734eb.tar.gz
tdv-08ed996fe1cb0943d74bb5f464a857b3f5d734eb.tar.xz
tdv-08ed996fe1cb0943d74bb5f464a857b3f5d734eb.zip
Tell termo to convert DEL to Backspace
Now backspace works in tmux.
Diffstat (limited to 'src/sdtui.c')
-rw-r--r--src/sdtui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sdtui.c b/src/sdtui.c
index 43aa352..ed95362 100644
--- a/src/sdtui.c
+++ b/src/sdtui.c
@@ -1249,6 +1249,7 @@ 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 ();