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

Re: PATCH: remove OFF flags for display attributes in zattr



Oliver Kiddle wrote on Fri, Jan 06, 2023 at 23:31:49 +0100:
> With the patch below, I'm sure there will still be issues but I'm
> hopeful that it fixes more than it breaks. This now makes use of
> TXT_ERROR to indicate that attributes should be unchanged in a
> REFRESH_ELEMENT which was needed for some newlines. It could perhaps
> be renamed. I need to better understand TXT_MULTIWORD_MASK because I
> suspect that can be replaced with similar uses of TXT_ERROR. Is that
> used for things like composing characters?

TXT_MULTIWORD_MASK is indeed used for composing characters, according to
the docstrings of nmwbuf and REFRESH_ELEMENT::chr.




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