From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8054 invoked by alias); 25 Nov 2010 11:04:49 -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: 28448 Received: (qmail 8529 invoked from network); 25 Nov 2010 11:04:38 -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: Thu, 25 Nov 2010 10:38:33 +0000 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: Mac OS X Prompt Bug Message-ID: <20101125103833.02141f38@pwslap01u.europe.root.pri> In-Reply-To: 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: 25 Nov 2010 10:38:33.0765 (UTC) FILETIME=[E8B49550:01CB8C8C] X-Scanned-By: MailControl A_10_80_00 (www.mailcontrol.com) on 10.71.0.126 On Wed, 24 Nov 2010 11:04:33 -0800 Wayne Davison wrote: > One thing that could be done to improve the PROMPT_SP heuristic is to > output a extra space (assuming the width (w) is 1) and another CR > after the trailing CR that is currently output. That would ensure > that newlines wouldn't show a superfluous percent when no dangling > output was present. So, how about this? Thanks. Might be best just to commit it and see how it works, I suspect just staring at it isn't going to give us a feel. -- 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