Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Mac OS X Prompt Bug
- X-seq: zsh-workers 28439
- From: Peter Stephenson <Peter.Stephenson@xxxxxxx>
- To: Sorin Ionescu <sorin.ionescu@xxxxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: Mac OS X Prompt Bug
- Date: Wed, 24 Nov 2010 15:24:08 +0000
- In-reply-to: <BAB9C52A-B68A-4B5A-99C2-F85B310B1380@xxxxxxxxx>
- 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
- Organization: Cambridge Silicon Radio
- References: <BAB9C52A-B68A-4B5A-99C2-F85B310B1380@xxxxxxxxx>
On Wed, 24 Nov 2010 08:58:26 -0500
Sorin Ionescu <sorin.ionescu@xxxxxxxxx> wrote:
> A % character appears before every prompt then it is replaced by the
> prompt; so, it only flashes for a fraction of a second. However, if
> the buffer is empty when ZSH starts, such as when one has a
> ~/.hushlogin file, it results in the behaviour in the screenshot,
> which is % character followed by blank lines.
That's almost certainly a side-effect of the PROMPT_SP option, see the
manual entry. This gets printed at the start of the line, then covered
over by the prompt itself.
Somehow in the case you're showing some output is coming out between zsh
printing the mark and printing the prompt itself. I have no idea where
that would be, but the pre-prompt activities are carried out quite
early, before the line editor is set up, so there is a reasonable amount
of scope for it.
If you don't have time to track down where the extra output is coming
from, turning off the PROMPT_SP option should make the mark go away.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
Messages sorted by:
Reverse Date,
Date,
Thread,
Author