boon icon indicating copy to clipboard operation
boon copied to clipboard

ESC doesn't exit insert mode when running in a terminal

Open pdcawley opened this issue 3 years ago • 2 comments

When running on the terminal, emacs does preprocessing of ESC, which means it doesn't escape back to command mode. I took a look at evil-mode to try and work out how it makes the escape key work, and it's doing something cunning with overriding-local-map to catch the escape before it goes through preprocessing, but I couldn't work out how to port it to boon.

pdcawley avatar Dec 03 '22 20:12 pdcawley

Ahh, I wondered if I was missing something but just tested with a GUI and everything worked correctly. Without escape handling this makes boon somewhat painful to use in a terminal.

adamcstephens avatar Feb 04 '23 18:02 adamcstephens