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

Re: [BUG] General 256 colors bug – zle_highlight / fg_start_code, etc. is not respected (was: highlight test cases)



Sebastian Gniazdowski wrote on Fri, 07 Dec 2018 21:26 +0100:
> Following Daniel's request of a minimal test case that makes the
> problem visible:
> 

Thanks for the test case.

> Could the problem be fixed, .. ASAP? It collides with my work of
> providing X04 tests and is a blocker for making a new Zsh
> release

Why should it be a blocker?  (I don't disagree; I just don't see the reason.)

I ran the minimal reproducer in 5.6.2 and in current master and I get
the same behaviour in both of them ("trueCDE|39| word2 word3", the whole
thing in red), so it's not a regression.

> I think Oliver touched the responsible code lately, as for
> true-color (not 256 color, with or withoutzsh/nearcolor), the
> zle_highlight processing works, i.e. I'm getting, e.g.:
> 
> 0m27m24mCDE|38;2;0;204;0|tCDE|38;2;204;0;0|rCDE|39|CDE|38;2;0;204;0|ueCDE|39|

Cheers,

Daniel



Messages sorted by: Reverse Date, Date, Thread, Author