Problem: unrecognized escape sequences are seen as single caret keypresses by pter, which triggers whatever command is bound to ^ and/or outputs the caret character on screen. For example, this happens if I accidentally hit an Alt + something keybinding.
I propose pter should just consume those escape sequences without outputting anything. And also actual carets should still be properly recognized.
Problem: unrecognized escape sequences are seen as single caret keypresses by pter, which triggers whatever command is bound to
^
and/or outputs the caret character on screen. For example, this happens if I accidentally hit anAlt + something
keybinding.I propose pter should just consume those escape sequences without outputting anything. And also actual carets should still be properly recognized.
Here's a patch I've used for a couple of days, seems to work fine: 91-fix-caret-1.diff.gz 91-fix-caret-2.diff.gz