From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17858 invoked by alias); 27 Sep 2011 14:32:31 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16449 Received: (qmail 12541 invoked from network); 27 Sep 2011 14:32:29 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <110927073218.ZM25159@torch.brasslantern.com> Date: Tue, 27 Sep 2011 07:32:18 -0700 In-reply-to: Comments: In reply to Jorge Israel Pena "Re: prompts with newlines get printed twice" (Sep 26, 6:42pm) References: <110924112412.ZM24918@torch.brasslantern.com> <110925151330.ZM20235@torch.brasslantern.com> In-reply-to: Comments: In reply to Jorge Israel Pena "Re: prompts with newlines get printed twice" (Sep 26, 6:48pm) X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: prompts with newlines get printed twice MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Sep 26, 6:42pm, Jorge Israel Pena wrote: } } Just wanted to follow up. It seems like multiline prompts cause zsh to exit } ([Process Completed]) when I do tab completion more than once: } } cd ~/.vim[Process Completed] Sorry if you've mentioned this before, but could you be specific about the version of zsh here? } I have made sure this is what's causing it. So what *exactly* is the difference in your configuration when it does not happen vs. when it does? On Sep 26, 6:48pm, Jorge Israel Pena wrote: } } I think it's because after the third tab, the directory gets reprinted and } each subsequent TAB makes it cycle through possible candidates. This } redrawing I imagine is somehow interfering with the trap cuu 2 WINCH } workaround. Uneless your terminal size is changing this can't have anything to do with the trap. It's called only in the event of an external signal, not every time the prompt is redrawn.