Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [BUG?] If true-color is used, overlapping colors do not work



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