mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
Fix for xterm reportBackground query.
* lisp/term/xterm.el (terminal-init-xterm): Discard input before querying background mode. Fixes: debbugs:10959
This commit is contained in:
parent
6665a6fd19
commit
771e3eae1e
@ -1,3 +1,8 @@
|
||||
2012-06-16 Chong Yidong <cyd@gnu.org>
|
||||
|
||||
* term/xterm.el (terminal-init-xterm): Discard input before
|
||||
querying background mode (Bug#10959).
|
||||
|
||||
2012-06-16 Stefan Merten <smerten@oekonux.de>
|
||||
|
||||
* textmodes/rst.el: Added and corrected some comments.
|
||||
|
@ -539,6 +539,7 @@ The relevant features are:
|
||||
(and (memq 'reportBackground tocheck-capabilities)
|
||||
version
|
||||
(>= version 242)))
|
||||
(discard-input)
|
||||
(send-string-to-terminal "\e]11;?\e\\")
|
||||
(when (and (equal (read-event nil nil 2) ?\e)
|
||||
(equal (read-event nil nil 2) ?\]))
|
||||
|
Loading…
Reference in New Issue
Block a user