mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-10-20 04:12:06 +08:00
We switch the terminal into application keypad mode (smkx) so terminfo key bindings are valid, but that also makes the numeric keypad send escape sequences (\eOp..\eOy, \eOM, ...) that were never bound. Keypad Enter rang the bell instead of running the command. Map each keypad sequence back to the plain key with `bindkey -s`, so it behaves exactly like the main keyboard key in emacs, viins and vicmd. Fixes #13928 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>