From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16137 invoked by alias); 24 Nov 2010 16:53:57 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28442 Received: (qmail 14560 invoked from network); 24 Nov 2010 16:53:54 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Date: Wed, 24 Nov 2010 16:53:47 +0000 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: Mac OS X Prompt Bug Message-ID: <20101124165347.45cadcc3@pwslap01u.europe.root.pri> In-Reply-To: <20101124160832.GA5062@prunille.vinc17.org> References: <20101124152408.3c901d79@pwslap01u.europe.root.pri> <20101124160832.GA5062@prunille.vinc17.org> Organization: Cambridge Silicon Radio X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 Nov 2010 16:53:47.0818 (UTC) FILETIME=[29B6B0A0:01CB8BF8] X-Scanned-By: MailControl A_10_80_00 (www.mailcontrol.com) on 10.68.0.120 On Wed, 24 Nov 2010 17:08:32 +0100 Vincent Lefevre 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 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