From 75dd442058eb69f88a8acd11f95d25cf7eb1e0c7 Mon Sep 17 00:00:00 2001 From: Jared Finder Date: Tue, 20 Jan 2026 22:46:31 -0500 Subject: [PATCH] (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`. --- lisp/term/xterm.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el index 7b3e674d997..50135b104a0 100644 --- a/lisp/term/xterm.el +++ b/lisp/term/xterm.el @@ -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))))