#Delete key remapped to ~

24 messages · Page 1 of 1 (latest)

cloud parrot
#

After the last update, DEL is remapped to the tilde key. I've checked keyd, checked bindings and rc files and grepped through directories. I rebooted. I swapped keyboards. No luck.

I would like to have the delete key back, any ideas?

lethal yacht
#

wev | grep -i del whats that say when you press the delete key on the checkerbox

cloud parrot
#

On keypress ^[[3~

lethal yacht
#

i think wev | grep -i sym might be better

lethal yacht
cloud parrot
#

wev|grep -i sym
sym: Return (65293), utf8: '\r'
sym: Return (65293), utf8: ''
^[[3~ sym: Delete (65535), utf8: ''
sym: Delete (65535), utf8: ''
sym: Delete (65535), utf8: ''
sym: Delete (65535), utf8: ''
sym: Delete (65535), utf8: ''
sym: Delete (65535), utf8: ''
sym: Delete (65535), utf8: ''
sym: Delete (65535), utf8: ''

lethal yacht
#

so, your keyboard is sending the right key. ^[[3~ and Delete look normal.

cloud parrot
#

I did leave something out - this is only in terminal. Ghostty, Kitty, Alacritty all return ~. Other apps do not, browser for example.

lethal yacht
#

whats only in terminal

cloud parrot
#

I'm doing this in Ghostty, other terms show the same behavior. Brave works as expected.

lethal yacht
#

But you clicked delete key and got ^[[3~ in your terminal

#

do you use non-bash shell?

#

if you use bash check ~/.bashrc

cloud parrot
#

Yes, that was the result. But on the command line it produces ~.

#

Zsh, but I tried bash with the same result.

lethal yacht
#

check ~/.inputrc

#

check all dot files in ~

cloud parrot
#

I don't see anything in .inputrc.. There is the arrow key mapping and that's it.

lethal yacht
#

i dont have .inputrc file btw

#

and i use bash

#

very possible that because you use zsh as main shell, and you switch to bash temporarily, maybe bash inherits the issue

#

so, check ~/.zshrc

cloud parrot
#

I'll chsh to bash and restart ghostty and check more dotfiles. Nothing in .zshrc. Let me know if you have a brainstorm. Thank you very much.