Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG?] If true-color is used, overlapping colors do not work
- X-seq: zsh-workers 43799
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [BUG?] If true-color is used, overlapping colors do not work
- Date: Wed, 7 Nov 2018 20:19:15 +0100
- 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; bh=VNVwy5e4ShRBnQZdigjIIoobByQUB3ubIt3mfmPEdS4=; b=ryXo61MxSzbKsIGtnoh05NVpCbUeBGQ+tE76MMTvGfUu/yonFdOKoOqSuJwzKGdaI0 orWkeNtMC11EzwklTrw2h8yMK71d5MX+dhes2uHLv74WXjNNt9nn23zbPDpsma8uXIYL ecV6I+1Q5AuwqXjfjKjao7lTEp0Qz6wLcGvuacIhBLt1DQoZPtbR6csSEqHt4lIyGrWo m5FgRHWG368VE4OC5lQAU8+5wNqUt5Q03B1QEVFL4+1J22b/x3gasrZ0uTrnZlEOmzoB FiT6OrCoSyGl+agGzfJw9A5ZOlaoeieXcojv1UZtQ/KG4TBzw05TGQMK0vub9Jsm/FiH 5pZw==
- In-reply-to: <CAKc7PVCp+zsjDwNnvk6XwdMz8XSgA66pmX5mZrYt+c9sZxy3TQ@mail.gmail.com>
- 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: <CAKc7PVDgEtfLAibbxRr36=UgPoPk8grvsH5G2+AOipr_vmt-cQ@mail.gmail.com> <CAKc7PVCp+zsjDwNnvk6XwdMz8XSgA66pmX5mZrYt+c9sZxy3TQ@mail.gmail.com>
I was testing on Linux, via docker. $termcap[Co] shows 8, the same
$terminfo[colors]. The zsh/nearcolor fails and maybe it could fail a
little better?
....
-0m38;5;232mtrue39m
+0m30mtrue39m
...
Was testing: basic region_highlight with near-color (hex-triplets at input)
Color 30 is apparently black. Maybe zsh/nearcolor could use (compare
against) first 8 or 16 colors when $termcap[Co] <= 8?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author