#Delete key remapped to ~
24 messages · Page 1 of 1 (latest)
wev | grep -i del whats that say when you press the delete key on the checkerbox
On keypress ^[[3~
i think wev | grep -i sym might be better
press the key while mouse is on the checkerboard to see
(but ^[[3~ is a good sign at least)
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: ''
so, your keyboard is sending the right key. ^[[3~ and Delete look normal.
I did leave something out - this is only in terminal. Ghostty, Kitty, Alacritty all return ~. Other apps do not, browser for example.
whats only in terminal
I'm doing this in Ghostty, other terms show the same behavior. Brave works as expected.
But you clicked delete key and got ^[[3~ in your terminal
do you use non-bash shell?
if you use bash check ~/.bashrc
Yes, that was the result. But on the command line it produces ~.
Zsh, but I tried bash with the same result.
I don't see anything in .inputrc.. There is the arrow key mapping and that's it.
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
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.