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

Re: Mac OS X Prompt Bug



On Wed, 24 Nov 2010 17:08:32 +0100
Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
> On 2010-11-24 15:24:08 +0000, Peter Stephenson wrote:
> > 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.
> 
> Couldn't the mark be printed exactly at the same time of the prompt?

I don't think that's appropriate because it can be redrawn within zle.
I think it needs to be done before the line editor starts, at least, if
I've understood what's going on. Anybody is welcome to play around (I
will not be doing so).

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