zsh-workers
 help / color / mirror / code / Atom feed
* bold prompt quirk
@ 1997-01-14 22:56 John Harres
  1997-01-15  9:48 ` Zefram
  0 siblings, 1 reply; 2+ messages in thread
From: John Harres @ 1997-01-14 22:56 UTC (permalink / raw)
  To: zsh-workers

While fiddling around with color prompts, I noticed this quirk:

PS1="%B${PURPLE}%m${NORMAL}%(#.#.>)%b "

does not display the > (or #) in bold, while

PS1="%B${PURPLE}%m${NORMAL}%b%B%(#.#.>)%b "

does.

John Harres
harres@uwyo.edu


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bold prompt quirk
  1997-01-14 22:56 bold prompt quirk John Harres
@ 1997-01-15  9:48 ` Zefram
  0 siblings, 0 replies; 2+ messages in thread
From: Zefram @ 1997-01-15  9:48 UTC (permalink / raw)
  To: John Harres; +Cc: zsh-workers

John Harres wrote:
>While fiddling around with color prompts, I noticed this quirk:
>
>PS1="%B${PURPLE}%m${NORMAL}%(#.#.>)%b "
>
>does not display the > (or #) in bold, while
>
>PS1="%B${PURPLE}%m${NORMAL}%b%B%(#.#.>)%b "
>
>does.

I suspect that your terminal just doesn't like overlapping colour and
attribute selection, or possibly your ${NORMAL} is cancelling more than
just colour.  In any case, there's not a lot we can do about that in
the shell.

-zefram


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-01-15  9:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-01-14 22:56 bold prompt quirk John Harres
1997-01-15  9:48 ` Zefram

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).