Typing f
in terminal line-mode breaks command
#12303
Labels
stale
marked as a stale issue/pr (usually by a bot)
f
in terminal line-mode breaks command
#12303
Description
Typing
f
while using a terminal in line-mode triggers some kind of terminalfunction, breaking the command to be executed.
Reproduction guide 🪲
SPC SPC ansi-term RET
echo abcdef RET
C-c C-j
to switch toline-mode
echo abcde
Observed behaviour: 👀 💔
The first echo inputs and executes as expected, but when typing
f
afterswitching to line-mode, the cursor jumps, and the shell state switches from:
to:
Sometimes it seems to replace completely different text, which looks like it
might be coming from my shells history.
Note this seems independent of the shell configuration and even shell used, the
same issue I could reproduce with bash, zsh and fish without custom
configuration. It also happens with both
ansi-term
andterm
.Expected behaviour: ❤️ 😄
echo abcdef
is executed by the shell as usual.System Info 💻
Backtrace 🐾
The text was updated successfully, but these errors were encountered: