Created
August 1, 2024 15:45
-
-
Save knollet/a6b3cd78431fefcbeca02850d0ac5316 to your computer and use it in GitHub Desktop.
emasc 27.2 -- bug with putty/xterm-paste and emacs/term
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; in 27.2 ansi-term and some modification of xterm-paste don't work together so good | |
;; (results in a hang which you can only get out of by ^G | |
;; this solves it | |
(require 'term) ;; so this gets not overwritten the wrong way round | |
(defun term--xterm-paste (ev) | |
"Insert the text pasted in an XTerm bracketed paste operation." | |
(interactive "e") | |
(term-send-raw-string (cadr ev))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment