summaryrefslogtreecommitdiffstats
path: root/Test
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2026-04-30 20:36:35 +0200
committerOliver Kiddle <opk@zsh.org>2026-04-30 20:48:12 +0200
commit5e1716fd00a0ab6c0046f6fd20611cdeee6c3607 (patch)
treecf99b2f0432be568154e6001e6049c31367f6112 /Test
parentunposted: _opkg: guard zparseopts long-option specs (diff)
downloadzsh-5e1716fd00a0ab6c0046f6fd20611cdeee6c3607.tar
zsh-5e1716fd00a0ab6c0046f6fd20611cdeee6c3607.tar.gz
zsh-5e1716fd00a0ab6c0046f6fd20611cdeee6c3607.tar.bz2
zsh-5e1716fd00a0ab6c0046f6fd20611cdeee6c3607.tar.lz
zsh-5e1716fd00a0ab6c0046f6fd20611cdeee6c3607.tar.xz
zsh-5e1716fd00a0ab6c0046f6fd20611cdeee6c3607.tar.zst
zsh-5e1716fd00a0ab6c0046f6fd20611cdeee6c3607.zip
54404: skip the RGB terminal query on older versions of the Apple terminal
The sequence isn't consumed so gets printed and then quickly erased. macOS conveniently sets TERM_PROGRAM in the environment so this can be detected.
Diffstat (limited to 'Test')
-rw-r--r--Test/X06termquery.ztst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Test/X06termquery.ztst b/Test/X06termquery.ztst
index 5f3a81aae..701cd625b 100644
--- a/Test/X06termquery.ztst
+++ b/Test/X06termquery.ztst
@@ -5,6 +5,7 @@
termresp() {
setopt localoptions extendedglob
export PS1= PS2= COLORTERM= TERM=
+ typeset +x TERM_PROGRAM
typeset +x -m .term.\*
zpty -d
zpty zsh "${(q)ZTST_testdir}/../Src/zsh -fiV +Z"