mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Detect backspace by looking at termios VERASE and translate it into \177 (which
matches screen's behaviour if not its termcap/terminfo entry). The terminfo kbs cap is often wrong or missing so it can't be used, and just assuming \177 may be wrong.
This commit is contained in:
@ -57,7 +57,7 @@ struct {
|
||||
{ "PPage", KEYC_PPAGE },
|
||||
{ "Tab", '\011' },
|
||||
{ "BTab", KEYC_BTAB },
|
||||
{ "BSpace", '\177' },
|
||||
{ "BSpace", KEYC_BSPACE },
|
||||
|
||||
/* Arrow keys. */
|
||||
{ "Up", KEYC_UP },
|
||||
|
Reference in New Issue
Block a user