From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8363 invoked from network); 8 Oct 2005 21:41:13 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 8 Oct 2005 21:41:13 -0000 Received: (qmail 88856 invoked from network); 8 Oct 2005 21:41:03 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 8 Oct 2005 21:41:03 -0000 Received: (qmail 29692 invoked by alias); 8 Oct 2005 21:41:01 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21856 Received: (qmail 29683 invoked from network); 8 Oct 2005 21:41:00 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 8 Oct 2005 21:41:00 -0000 Received: (qmail 88651 invoked from network); 8 Oct 2005 21:41:00 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 8 Oct 2005 21:41:00 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id 98E0E34014; Sat, 8 Oct 2005 17:40:58 -0400 (EDT) Date: Sat, 8 Oct 2005 17:40:58 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Subject: Re: cosmetic completion problem Message-ID: <20051008214058.GA16720@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk References: <20051006205811.GA29634@scowler.net> <20051008073254.GB81@DervishD> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051008073254.GB81@DervishD> User-Agent: Mutt/1.5.9i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 > BTW, Clint, which version of zsh are you using? CVS HEAD. This seems to fix part of the problem, but not all of it. I don't know what it breaks. --- orig/Src/Zle/complist.c +++ mod/Src/Zle/complist.c @@ -653,7 +653,7 @@ * There might be problems with characters of printing width * greater than one here. */ - if (col >= columns) { + if (col > columns) { ml++; if (mscroll && !--mrestlines && (ask = asklistscroll(ml))) { mlprinted = ml - oml;