From 08ed996fe1cb0943d74bb5f464a857b3f5d734eb Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sun, 1 Feb 2015 22:32:49 +0100
Subject: Tell termo to convert DEL to Backspace
Now backspace works in tmux.
---
src/sdtui.c | 1 +
1 file changed, 1 insertion(+)
(limited to 'src')
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 ();
--
cgit v1.2.3-70-g09d2