Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: autoload nearcolor based on truecolor detection
- X-seq: zsh-workers 53380
- From: Oliver Kiddle <opk@xxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: autoload nearcolor based on truecolor detection
- Date: Tue, 25 Feb 2025 09:48:25 +0100
- Archived-at: <https://zsh.org/workers/53380>
- In-reply-to: <47602-1740441715.406100@1_s3.raZZ.iSbf>
- List-id: <zsh-workers.zsh.org>
- References: <47602-1740441715.406100@1_s3.raZZ.iSbf>
I should probably have included the following too, without which
auto-loading nearcolor breaks the X04 test case again.
Oliver
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index dd5a735b4..dbf48457d 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -1764,7 +1764,7 @@ wider range of key combinations and resolves problems with ambiguous key
sequences. Currently there is only support for detecting whether the terminal
supports this feature.
)
-xitem(tt(truecolor) <E>)
+xitem(tt(truecolor) <D>)
item(tt(query-truecolor) <E>)(
Support for 24-bit truecolor escape sequences. Auto-detection also tries
termcap and the tt(COLORTERM) environment variable.
diff --git a/Test/X04zlehighlight.ztst b/Test/X04zlehighlight.ztst
index 723bb05d7..be0564912 100644
--- a/Test/X04zlehighlight.ztst
+++ b/Test/X04zlehighlight.ztst
@@ -12,7 +12,7 @@
zpty zsh "${(q)ZTST_testdir}/../Src/zsh -fiV +Z"
zpty -w zsh "module_path=( ${(j< >)${(@q-)module_path}} \$module_path )"
zpty -w zsh 'zle_highlight=( fg_start_code:"CDE|3" fg_end_code:"|" bg_start_code:"BCDE|4" bg_end_code:"|" )'
- zpty -w zsh '.term.extensions=( -query )'
+ zpty -w zsh '.term.extensions=( -query truecolor )'
}
zpty_input() {
zpty ${${(M)2:#nonl}:+-n} -w zsh "$1"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author