X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/90fb9b38dd4a386a71cdf7c3bf6b42292db43c42..6dc0bafd5915b01a341cc0efbc744abd73163872:/lisp/xt-mouse.el diff --git a/lisp/xt-mouse.el b/lisp/xt-mouse.el index b6738b21cb..a2b64019f9 100644 --- a/lisp/xt-mouse.el +++ b/lisp/xt-mouse.el @@ -138,6 +138,7 @@ http://invisible-island.net/xterm/ctlseqs/ctlseqs.html)." "Non-nil if UTF-8 coordinates should be used to read mouse coordinates. Set this to non-nil if you are sure that your terminal understands UTF-8 coordinates, but not SGR coordinates." + :version "25.1" :type 'boolean :risky t :group 'xterm) @@ -154,10 +155,7 @@ single byte." (set-keyboard-coding-system (if (terminal-parameter nil 'xterm-mouse-utf-8) 'utf-8-unix - ;; Use Latin-1 instead of no-conversion to avoid flicker - ;; due to `set-keyboard-coding-system' changing the meta - ;; mode. - 'latin-1)) + 'no-conversion)) ;; Wait only a little; we assume that the entire escape sequence ;; has already been sent when this function is called. (read-char nil nil 0.1))