From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20268 invoked by alias); 17 Dec 2013 17:12:03 -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: 32141 Received: (qmail 15169 invoked from network); 17 Dec 2013 17:11:57 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <131217091138.ZM8420@torch.brasslantern.com> Date: Tue, 17 Dec 2013 09:11:38 -0800 In-reply-to: Comments: In reply to Patrick Oscity "Re: Bug report" (Dec 17, 11:59am) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: "zsh-workers@zsh.org" Subject: Re: Bug report MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Dec 17, 11:59am, Patrick Oscity wrote: } } Since other shells like e.g. FISH handle this correctly in the very same } terminal, maybe there's actually something else broken here? I suspect that FISH is e.g. using the curses library to manage the entire screen. ZLE does not attempt to do this, and we long ago decided that we have better things to do than to re-invent all the details of full-screen terminal management when the real purpose of having the line editor is "get work done more efficiently" not "look pretty". If someone wants to take on the game of whack-a-terminal that this is very likely to become, we'll welcome the help ... } Another odd behavior I noticed } is that when I set ZLE_RPROMPT_INDENT=0, the first character of any } completion disappears. It's quite possible (even very likely) that the completion code makes assumptions about the prompt code. If you capture the output with e.g. "script", you can see that the character actually is printed (in fact, the whole listing is printed) but then covered up when the completion code attempts to return the cursor to the line the prompt is on. This may in fact be another spot in the prompt code that needs to know that there is no right-indent. That might actually fix the issue with scrolling up one line, too, on some terminals.