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

Re: region_highlight and zle_highlight[paste]



On Tue, 8 Sep 2015 12:27:13 +0200
Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> I noticed that a specification for fg=red overrides a bg=blue
> specification to no background. Would it be easy to merge these
> instead? (for example bold + bg=blue works already).

I think that's probably doable, though I have no interest in doing it
myself.  At the point in the code I indicated to Daniel you'd need to
check if the attrribute currently being set didn't have TXTBGCOLOUR but
what was previously in effect did, and in that case transfer the
attribute.  That doesn't sound too hard, but I haven't looked at this
stuff for years (so the flags may not behave quite the way I'm
assuming).

pws



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