Tell termo to convert DEL to Backspace

Now backspace works in tmux.
This commit is contained in:
Přemysl Eric Janouch 2015-02-01 22:32:49 +01:00
parent bb9802f83d
commit 08ed996fe1
1 changed files with 1 additions and 0 deletions

View File

@ -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 ();