ZSH normally works fine except when I use it in Tmux. When I press ALT
or CTRL
before any other keys like Alt + Left Arrow
(to jump by words) or Alt + Backspace
(to delete a word), it suddenly changes the prompt from this style:
to this style:
Then nothing works until I press the same key but with the Right Arrow
key like Alt + Right Arrow
.
It works fine when I do the same without Tmux, but I have no clue why it doesn't work in Tmux.