Open cristiand391 opened 2 years ago
This also happens, outside of vim mode, when using key combinations for killing words, moving forwards / backwards by words, etc. E.g.:
Unexpected Escape Sequence: ['\x1b' '\u007f'] (delete one word backwards)
Unexpected Escape Sequence: ['\x1b' 'd'] (delete one word forwards)
Unexpected Escape Sequence: ['\x1b' 'b'] (move backward by one word)
Unexpected Escape Sequence: ['\x1b' 'f'] (move forward by one word)
I'm getting the error
unexpected escape sequence from terminal
when I press any key in vim mode using tmux 3.2a. Reproduced this bug on macOS native terminal, Alacritty, also on Xubuntu with xfce4-terminal and Alacritty (clean VM), no config file. This only happens when the program runs inside of tmux.Example:
tmux -V
tmux
go build
./survey-tmux-bug
Esc
to enter vim modeWhat operating system and terminal are you using? macOS Big Sur, Xubuntu Alacritty
An example that showcases the bug. Left: Alacritty | Right macOS terminal
What did you expect to see? It should move the selector when I press j/k.
What did you see instead?
unexpected escape sequence