zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: prompts with newlines get printed twice
Date: Tue, 27 Sep 2011 07:32:18 -0700	[thread overview]
Message-ID: <110927073218.ZM25159@torch.brasslantern.com> (raw)
In-Reply-To: <CAF3NQe_JSXsr8N6kHkh2kTEve2GLJ5eoMO=Jv7arrxEX4_0f3w@mail.gmail.com>
In-Reply-To: <CAF3NQe-y4CDRTjJpmOhq4vBN0xfXMzQEuOHhpwYDaHLr-R2VdA@mail.gmail.com>

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<TAB><TAB><TAB>[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.


      reply	other threads:[~2011-09-27 14:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-24  2:52 Jorge Israel Peña
2011-09-24 18:24 ` Bart Schaefer
2011-09-24 18:31   ` Mikael Magnusson
2011-09-24 23:24     ` Jorge Israel Peña
2011-09-25  0:14       ` Jorge Israel Peña
2011-09-25 22:13         ` Bart Schaefer
2011-09-25 23:31           ` Jorge Israel Peña
2011-09-26  4:22             ` Jorge Israel Peña
2011-09-26  4:29               ` Jorge Israel Peña
2011-09-27  1:42                 ` Jorge Israel Peña
2011-09-27  1:48                   ` Jorge Israel Peña
2011-09-27 14:32                     ` Bart Schaefer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=110927073218.ZM25159@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).