mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
(xterm--init): Fix probem in async mode (bug#80163)
In async mode, the workaround for the old Terminal.app collides with the binding we install for the primary DA. Just drop it. * lisp/term/xterm.el (xterm--init): Remove workaround for very old macOS `Terminal.app`.
This commit is contained in:
parent
4150c2e22e
commit
75dd442058
1 changed files with 1 additions and 5 deletions
|
|
@ -983,11 +983,7 @@ We run the first FUNCTION whose STRING matches the input events."
|
|||
;; Try to find out the type of terminal by sending a "Secondary
|
||||
;; Device Attributes (DA)" query.
|
||||
(xterm--query "\e[>0c"
|
||||
;; Some terminals (like macOS's Terminal.app) respond to
|
||||
;; this query as if it were a "Primary Device Attributes"
|
||||
;; query instead, so we should handle that too.
|
||||
'(("\e[?" . xterm--version-handler)
|
||||
("\e[>" . xterm--version-handler)))
|
||||
'(("\e[>" . xterm--version-handler)))
|
||||
;; Check primary DA for OSC-52 support
|
||||
(xterm--query "\e[c"
|
||||
'(("\e[?" . xterm--primary-da-handler))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue