Tell termo to convert DEL to Backspace
Now backspace works in tmux.
This commit is contained in:
parent
bb9802f83d
commit
08ed996fe1
@ -1249,6 +1249,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
|
|||||||
if (!(app.tk = termo_new (STDIN_FILENO, NULL, 0)))
|
if (!(app.tk = termo_new (STDIN_FILENO, NULL, 0)))
|
||||||
abort ();
|
abort ();
|
||||||
|
|
||||||
|
termo_set_canonflags (app.tk, TERMO_CANON_DELBS);
|
||||||
if (!initscr () || nonl () == ERR)
|
if (!initscr () || nonl () == ERR)
|
||||||
abort ();
|
abort ();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user