Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: true colour support
- X-seq: zsh-workers 43764
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- Subject: Re: PATCH: true colour support
- Date: Mon, 5 Nov 2018 15:36:06 +0100
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ev5s44yjigygQfZJ8H+v7d0pZlrgADb/TTSTckW7llQ=; b=GKhXEdq881jGSYGzSg3VEVuZm7DM9Q7kH5SGTqUlubo7nIHjvr3JN173r1GLiZ+Qde nES3xhaE4oRUhxi3VVz3m3PjbZy9zB66eMCwbif1eo1ldhlUNiWw78BQS0siLfZbaKgn 65q8Yn3Oj3RUWamY7Y7O4XFU1fme6rzboWlce3O+mxNqVaijKYDMJVM6u19lzDx0tLUT qzdr5FdyV7sIfbwj9ToAHzWBm7mHXwhqZd5yF5klw2Zva3/S/Vl+UDyAQ2oBkZ8e6YMT XFOIaZ8h9dtd44W06wgGq+tXi3Ol3QDaKZx8959tz+QZHzbp4Itb+wMsolaoXCEm14bm v3yg==
- In-reply-to: <14759-1541295720.747208@yAOj.Gon2.-2mF>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVCEmTTMRR0P3kx9ktpLDBYqJ+MRsE77UMLFjonEZAixfA@mail.gmail.com> <58111-1540942908.680582@SXAw.BXd_.-x5N> <14759-1541295720.747208@yAOj.Gon2.-2mF>
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