Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
%F{1} outputs code twice, %F{red} doesn't
- X-seq: zsh-workers 27979
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: %F{1} outputs code twice, %F{red} doesn't
- Date: Fri, 28 May 2010 00:26:49 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=pyp2U9LjxoRRm/u+cOS3ALDaHdVKwPTQGmHmudSxuDA=; b=KtqG5Y891Kiy2BkXZOl0eu4w+gGSm4Kcfjc63TfAJfxO5KrmUplvePaxqz/HbQ55u+ SNJYNwRN0m0AjJQB3d9eiom4M2EZ7rrvLVCUxNMEdjr+6Gz0L30OKwdyOID2rncoon3f acSXKkKt28q9uoc4E7lGsd5+QN1NHy67JdLEY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=e11hVh/AV5o/bl3B4evQKJf80Mn0GS56RUYpqx79/reOfZnUcr7EzFMIYhKMw4zemD Zs/nlRNUIXTPRgeWyDZLFpxRyNqVAGjd90RvoCj2t1pexSUXUF5S68mYEz4HrtXqafj0 l7voUqHc0zynBeChe2+3B2Jkd0/rNe0iSk1aw=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
% print -P a%F{1}a|cat -v
a^[[38;5;1m^[[38;5;1ma
% echo ${(%V):-a%F{1}a}
a^[[38;5;1m^[[38;5;1ma
(wasn't sure if those use the same code path)
% print -P a%F{red}a|cat -v
a^[[38;5;1ma
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author