Function: viper-catch-tty-ESC
viper-catch-tty-ESC is a byte-compiled function defined in
viper.el.gz.
Signature
(viper-catch-tty-ESC)
Documentation
Setup key mappings of current terminal to turn a tty's ESC into escape.
Source Code
;; Defined in /usr/src/emacs/lisp/emulation/viper.el.gz
(defun viper-catch-tty-ESC ()
"Setup key mappings of current terminal to turn a tty's ESC into `escape'."
(when (memq (terminal-live-p (frame-terminal)) '(t pc))
(let ((esc-binding (viper-uncatch-tty-ESC)))
(define-key input-decode-map
[?\e] `(menu-item "" ,esc-binding :filter viper--tty-ESC-filter)))))