zsh-workers
 help / color / mirror / code / Atom feed
From: Philip Sequeira <phsequei@gmail.com>
To: zsh-workers <zsh-workers@zsh.org>
Subject: Interrupt after first tabbing into a menu select clears prompt
Date: Sun, 27 Dec 2015 00:48:43 -0500	[thread overview]
Message-ID: <CAB_3nvqhc--VRH6=-kMxNZpgo5X-fhC+h=O6NXoQv5Va0UGfVw@mail.gmail.com> (raw)

This is a regression, been happening for a while but I never got
around to tracking it down.

>From zsh -f:
zstyle ':completion:*' menu select=0
autoload -Uz compinit
compinit
ls<Tab><Tab>^C

And the prompt disappears. As far as I can tell, it only happens if
you interrupt right after tabbing into the list, without doing
anything else. If you go to another entry, or even back to the first
one, before hitting ^C, it won't disappear.

Bisected to 32f5d3d8c16b4f3a11fa39c0ee378d72336ba853. Removing the if
(!errflag) added by that commit fixes my problem, but I guess you'll
want to add another check or something instead if you still think that
propagating an error should usually not redraw the line.


             reply	other threads:[~2015-12-27  5:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-27  5:48 Philip Sequeira [this message]
2016-01-15 11:46 Leo Mao
2016-01-15 12:43 ` Peter Stephenson

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='CAB_3nvqhc--VRH6=-kMxNZpgo5X-fhC+h=O6NXoQv5Va0UGfVw@mail.gmail.com' \
    --to=phsequei@gmail.com \
    --cc=zsh-workers@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).