Backspace removes whole words in Micro Editor #634
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I tested alacritty and cool-retro-term and it occurs only in the latter. (https://micro-editor.github.io/)
I am also having a simillar issue with Zsh. I am using Zsh on Manjaro with i3, and every time I hit backspace it removes the whole word.
Same here with fish. I think the issue is that the terminal sends ^? instead of ^H for backspace. It'd be good to have a way of selecting which control sequence to send, as PuTTY and other terminal emulators allow.
@smithandrewl, I am having the same issue with manjaro zsh. Can confirm that CRT sends ^H instead of ^? for backspace. You could redefine the key:
in a session or in your .zshrc conditionally (e.g., redefine key if
stty -a | egrep '\berase = \^\?'
doesn't return 0).This looks intentional :
63228027e1/lib/default.keytab (L37)
Previously using Gnome Terminal with
zsh
, I had addedbindkey "^H" backward-kill-dir
to makeCtrl+Backspace
delete whole word and not only a single character. I don’t know enough to give a proper opinion, but it looks like the various terminal emulators have different implementations.