diff options
| -rw-r--r-- | lisp/term/xterm.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el index 6f0d128b3d5..9209a76fcdc 100644 --- a/lisp/term/xterm.el +++ b/lisp/term/xterm.el | |||
| @@ -670,8 +670,13 @@ Return the pasted text as a string." | |||
| 670 | (when (and (> version 2000) (equal (match-string 1 str) "1")) | 670 | (when (and (> version 2000) (equal (match-string 1 str) "1")) |
| 671 | ;; Hack attack! bug#16988: gnome-terminal reports "1;NNNN;0" | 671 | ;; Hack attack! bug#16988: gnome-terminal reports "1;NNNN;0" |
| 672 | ;; with a large NNNN but is based on a rather old xterm code. | 672 | ;; with a large NNNN but is based on a rather old xterm code. |
| 673 | ;; Gnome terminal 3.6.1 reports 1;3406;0 | ||
| 674 | ;; Gnome terminal 2.32.1 reports 1;2802;0 | 673 | ;; Gnome terminal 2.32.1 reports 1;2802;0 |
| 674 | ;; Gnome terminal 3.6.1 reports 1;3406;0 | ||
| 675 | ;; Gnome terminal 3.22.2 reports 1;4601;0 and *does* support | ||
| 676 | ;; background color querying (Bug#29716). | ||
| 677 | (when (> version 4000) | ||
| 678 | (xterm--query "\e]11;?\e\\" | ||
| 679 | '(("\e]11;" . xterm--report-background-handler)))) | ||
| 675 | (setq version 200)) | 680 | (setq version 200)) |
| 676 | (when (equal (match-string 1 str) "83") | 681 | (when (equal (match-string 1 str) "83") |
| 677 | ;; `screen' (which returns 83;40003;0) seems to also lack support for | 682 | ;; `screen' (which returns 83;40003;0) seems to also lack support for |