Describe the bug
In iTerm2, the escape key stopped working. For example in neovim, I'm no longer able to exit insert mode, except when using an alternative such as Ctrl-[[. Disabling the neovim config doesn't solve it, but I found out that quitting BTT does solve it, so it seems a problem in BTT.
It started happening yesterday, before I installed the latest macOS update today. So a restart didn't solve it.
Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
Touch Bar
Screenshots
Device information:
- Type of Mac: MacBook Pro 2019 with touch bar
- macOS version: 15.3.2
- BetterTouchTool version: 5.199
Additional information (e.g. crash logs, related issues, etc.):
I tried creating a keyboard shortcut in BTT -> "on esc" -> ESC (or Show HUD, to test if it works) but it doesn't seem to register it.
Also tried to create a "fake esc" button on the touch bar to send the escape key, this also doesn't do anything.
Can you check whether anything shows up in the "recently used" section when pressing esc?
The other touch bar buttons show up, but the esc key does not.
The weird thing is that it doesn't happen everywhere: I can close the iTerm preferences window using esc for example.
And just now I tried using /usr/bin/vim, here it does work. So it's only in neovim, strangely enough, and as mentioned before: with an empty config too, and as soon as I quit BTT it works. I'm unsure what it can be that causes this.
Resetting iTerm (defaults delete com.googlecode.iterm2
) didn't help either. Also, the problem does not occur in the standard macOS Terminal app, and neither in Wave terminal.
But, I found out that Wave is actually quite nice, and I'll switch to that one for now.
So unless other bug reports come in, it's fine for you to focus on other priorities. Thanks for your help and work Andreas. Let me know whenever you want me to debug or test anything regarding this problem.