From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16242 invoked by alias); 19 Mar 2011 17:54:11 -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: 28925 Received: (qmail 18978 invoked from network); 19 Mar 2011 17:54:10 -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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.212.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=uG2ZBSPhIfkUArt5/zgIgMJcorsYny0zoWVl3SX6KF4=; b=fyDB2kb6ZDSkZDlYM10+t/n4vLMqZnbtiTkmMW5vsoKlPOHKzAbPzAfuQxy65Em0PT TYJLVjQYbwXPoDw6elhqC1Dzlicc1d/y0DhXrP6sTupmHWPduQdTx08K45+9fFSpeQyf XBecLZeCXwE+1pBbJyXKGAPPT3hp77YSzC/ig= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=OI/9AznK+A8xgUq5lkIowUkQ1l7hOWuCKwHbqr7WKnX4nFWcIK3tbbBbzJoqn63QDX iWd50Dmkt5ve0XgVBOFTTmFbic+NtzkMGHI5aK9d2RPS7vP6mHF+27o4qsDNWRyvPVzA LOGWGZQp47rfgwhSYZFgSDn9i3R+LCCsGKFko= MIME-Version: 1.0 Date: Sat, 19 Mar 2011 18:54:04 +0100 Message-ID: Subject: listlist() display corruption From: Mikael Magnusson To: zsh workers Content-Type: text/plain; charset=UTF-8 listlist(), used among other places in list-expand and where-is, moves the prompt one line down every time it executes if any of the elements it tries to show is longer than the terminal width. To try it, touch a long filename (or make the terminal narrower) and type part of it's name and a * and run list-expand. Alternatively, run where-is and type history-incr, make the terminal quite narrow, and press tab a few times. I am not quite in the mood to look at it right now so I'm posting it so I won't forget, but I won't complain if anyone else fixes it in the meantime. -- Mikael Magnusson