From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5548 invoked by alias); 28 May 2018 15:33:17 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23409 Received: (qmail 26974 invoked by uid 1010); 28 May 2018 15:33:17 -0000 X-Qmail-Scanner-Diagnostics: from forward105p.mail.yandex.net by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(77.88.28.108):SA:0(-2.6/5.0):. Processed in 1.469814 secs); 28 May 2018 15:33:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: zsh@mva.name X-Qmail-Scanner-Mime-Attachments: |signature.asc| X-Qmail-Scanner-Zip-Files: | From: "Vadim A. Misbakh-Soloviov" To: zsh-users@zsh.org Subject: Re: Colorful new fast-syntax-highlighting Date: Mon, 28 May 2018 17:09:01 +0300 Message-ID: <5267303.ZErKGfsyxT@tp> In-Reply-To: References: <2520527.qaVKfP2GYF@tp> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4671309.YyQJuZnaXb"; micalg="pgp-sha256"; protocol="application/pgp-signature" --nextPart4671309.YyQJuZnaXb Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" > 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. --nextPart4671309.YyQJuZnaXb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQTxiw6i5QzSBiZgM/FnZfRvKOlgfgUCWwwNfQAKCRBnZfRvKOlg fs3FAQC7TsESwHVIt9wek89eDiMy8ROxqIZUEg1oqnGNvX/6mQEA5J0Dwxx3NhQD xbuULfrza1l7ujWXeW3sQ2+6awvaqwg= =gPw0 -----END PGP SIGNATURE----- --nextPart4671309.YyQJuZnaXb--