Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Colorful new fast-syntax-highlighting
- X-seq: zsh-users 23408
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: "Vadim A. Misbakh-Soloviov" <zsh@xxxxxxxx>
- Subject: Re: Colorful new fast-syntax-highlighting
- Date: Mon, 28 May 2018 12:03:14 +0200
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fpoUo6vcwBpkZFfeKGLkBWxjm75ipjjZ4IOvtIurpWU=; b=dcjyK+59O7mfypuKzT4Bc0Lq388yohqF2n1jD/L5vHJJ93QmFuTV7pAYiQEn7C3G6v G7GL4mWR3CpJ/LbcCFkodlnVsO+aySdV7g5969aN4PAsnxElwm0y+oZFXSimAl+m3mpk Vg/h8ckiG5zrA0LV416kfjSzdngHAniDAG8TqcKzsM1ymwYin1JgKZN0WMLMkQiAAV7s RWVtcJkwxs9ELr1oWjqF1CVW0kfUT8yqRjklEjI3mDjTgOWRbFcN68L1DyaPiEunn1RI mI5iG5vxsiaT7tu05QRvzrhxugVXkNXCEMOcDELr8eShHye6VAgkx4L+rIUFV6JWlWUK udVQ==
- In-reply-to: <2520527.qaVKfP2GYF@tp>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVCSikOF8m1J7ySwStRuR_j5Uf_hb=q9aDAS9eWP4EfQEQ@mail.gmail.com> <CAKc7PVCyXgHD43-BCN_U3iq0TrVVyU0UmOmjEDt==YZcvAmXFw@mail.gmail.com> <2520527.qaVKfP2GYF@tp>
On 27 May 2018 at 17:54, Vadim A. Misbakh-Soloviov <zsh@xxxxxxxx> wrote:
> As far as I see from themes (ini-files) there is support for "named" colors
> and 0-256 as a values.
Yes simple ini file, in hope someone will contribute more easily, than
to Zsh script file that is directly parsed by Zsh.
> But zsh also supports 24bit color assignments as well:
> for example, `printf '\x1b[38;2;%s;%s;%sm' $RED $GREEN $BLUE` (and `[48;2` for
> background).
I think Zsh doesn't support truecolor internally. The color names or
numbers are used in region_highlight array in strings like
"fg=110,bold" and here there is no way to specify 24 bit color value.
I was earlier looking for 24 bit color support in ncurses, and it's
rather the same story, the library is fixed on 256 value integers and
cannot be easily adapted to support 24 bit values.
--
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author