From 5e1716fd00a0ab6c0046f6fd20611cdeee6c3607 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 30 Apr 2026 20:36:35 +0200 Subject: 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. --- Test/X06termquery.ztst | 1 + 1 file changed, 1 insertion(+) (limited to 'Test') 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" -- cgit v1.3.1