zsh-users
 help / color / mirror / code / Atom feed
From: "Vadim A. Misbakh-Soloviov" <zsh@mva.name>
To: zsh-users@zsh.org
Subject: Re: Colorful new fast-syntax-highlighting
Date: Mon, 28 May 2018 17:09:01 +0300	[thread overview]
Message-ID: <5267303.ZErKGfsyxT@tp> (raw)
In-Reply-To: <CAKc7PVDcy2FZOcWFayXLYQ0Ti+3sXzUqx0YxqfQ5q=_P_tVYgA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 921 bytes --]

> I think Zsh doesn't support truecolor internally.
Doesn't that: https://i.imgur.com/FDFf8jn.png mean it does?

> 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.

Yup, that's what I talk about: it would be nice to have an ability to specify 
them. Although, I even agree on some shell env file with [magic] definitions 
instead of ini to make it work at least in my dotfiles.

> 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.

Yup, there was some problem about truecolor in ncurses, but since 6.0.20180121 
(or, probably, a bit earlier, since I use that in neovim-under-tmux for a long 
time already) it does support truecolor through terminfo's `Tc` (AFAIRC) 
capability.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2018-05-28 15:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-23 16:48 Sebastian Gniazdowski
2018-05-23 19:00 ` Vadim A. Misbakh-Soloviov
2018-05-25 12:07   ` Daniel Shahaf
2018-05-25 12:19     ` Vadim A. Misbakh-Soloviov
2018-05-25 12:35       ` Daniel Shahaf
2018-05-25 15:23       ` Sebastian Gniazdowski
2018-06-10 21:28   ` Sebastian Gniazdowski
2018-05-27 14:46 ` Sebastian Gniazdowski
2018-05-27 15:54   ` Vadim A. Misbakh-Soloviov
2018-05-28 10:03     ` Sebastian Gniazdowski
2018-05-28 14:09       ` Vadim A. Misbakh-Soloviov [this message]
2018-05-28 15:53         ` Sebastian Gniazdowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5267303.ZErKGfsyxT@tp \
    --to=zsh@mva.name \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).