zsh-workers
 help / color / mirror / code / Atom feed
From: Jan Larres <jan@majutsushi.net>
To: zsh-workers@zsh.org
Subject: Small zle_highlight regression in 5.7
Date: Fri, 1 Feb 2019 12:31:38 +1300	[thread overview]
Message-ID: <6e542e69-1e09-1af7-0c68-8af456dd043e@majutsushi.net> (raw)

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

             reply	other threads:[~2019-01-31 23:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-31 23:31 Jan Larres [this message]
2019-02-01  1:46 ` dana
2019-02-01  3:40   ` Jan Larres

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6e542e69-1e09-1af7-0c68-8af456dd043e@majutsushi.net \
    --to=jan@majutsushi.net \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).