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

Small zle_highlight regression in 5.7



Hi,

In 5.6.2 I was able to use the special 'reset' foreground attribute to only reset the foreground colour in the prompt:

  $ print -P "%{%F{red}%}foo%{%F{reset}%}bar" | cat -v
  ^[[31mfoo^[[39mbar

This doesn't work any more in 5.7:

  $ print -P "%{%F{red}%}foo%{%F{reset}%}bar" | cat -v
  ^[[31mfoobar

I also can't find any mention of this attribute in the documentation any more. Is this intentional?

Thanks,
Jan



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