Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: true colour support



On Sun, 4 Nov 2018 at 02:42, Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
>
> This is a followup to the patch in 43747 to add support for generating
> the escape sequences for terminals that support true colour. This works
> with prompt escapes and zle_highlight/region_highlight but I'm not sure
> about ZLS_COLOURS/list-colors because they use a different format.

I've updated a F-Sy-H theme to use the color-value for
region_highlight in form of hex-triplet, e.g.:

: ${FAST_HIGHLIGHT_STYLES[x-paragon-tccommand]:=#7fa8c5}

x-paragon-tc (-tc for truecolor) is a theme name, then goes the style
name, `command', then the true-color value of the style. I've added
debug prints to F-Sy-H, #7fa8c5 is really added to region highlight,
but the array then comes up with a value: "0 4 none". What can be the
reason, what to check for?

> Oliver
>
> diff --git a/Src/Modules/nearcolor.c b/Src/Modules/nearcolor.c



Messages sorted by: Reverse Date, Date, Thread, Author