From: Joe M <joe9mail@gmail.com>
To: zsh-users@zsh.org, zsh-workers@zsh.org, schaefer@zsh.org
Subject: Re: Behaviour of zle list-choices
Date: Thu, 25 Feb 2016 21:54:56 -0600 [thread overview]
Message-ID: <20160226035455.GA4935@master> (raw)
In-Reply-To: <CAHjjW16S5=2=qQrRhZUtgFOC5GUW28SnMHcqa=yCDk7Mdap2eA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1981 bytes --]
Hello Bart,
I have a multi-line prompt.
When I have an empty prompt and I press Ctrl-C, I get the next prompt.
But, when I have the list-choices active and I press Ctrl-C, the line
above the command is disappearing.
For example, this is the behavior when zle list-choices is not active
and I press Ctrl-C:
- (0:i:/tmp/zsh-build) - - - - - - -
l
- (0:i:/tmp/zsh-build) - - - - - - -
This is the behavior, when zle list-choices is active and I press
Ctrl-C:
- (0:i:/tmp/zsh-build) - - - - - - -
l
ls
- (0:i:/tmp/zsh-build) - - - - - - -
It should have been:
- (0:i:/tmp/zsh-build) - - - - - - -
l
- (0:i:/tmp/zsh-build) - - - - - - -
ls
- (0:i:/tmp/zsh-build) - - - - - - -
When I "git bisect" zsh, I found that this:
691547cda60f0512c645e80246292936e660f326 is the first bad commit
commit 691547cda60f0512c645e80246292936e660f326
Author: Barton E. Schaefer <schaefer@zsh.org>
Date: Wed Oct 29 08:45:57 2014 -0700
33563: Completion/Base/Core/_main_complete, Src/Zle/complist.c: fix thinko in status message for INT/QUIT signals; check errflag in output loops
Two semi-related patches for keyboard interrupt handling in completion,
most importantly so that unexpectedly long completion listings can be
interrupted.
:100644 100644 54fac61ca8d2f0d76020fe91c58600c425d6c6c8 676d2697968a06c855091681dd5ba4c8e15f6cf3 M ChangeLog
:040000 040000 4bd268b6f03e9232602127edfa5c1d1257477a3a 0604aba5e8a729e0e3e28aa5aaaa9db0dba6a1ad M Completion
:040000 040000 28150242dcea19e15813219cdae0c8bed8a0c3f6 7a23b88a420c221c2dd26b45e1ca0cac774a477d M Src
Any kind comments, please?
Thanks
Joe
Joe M wrote:
> Hello,
>
> In an earlier release of zsh, when list-choices is active and I press
> "Ctrl-C", the current line gets killed and I get a new prompt.
>
> Now (zsh 5.2), When I press "Ctrl-C", I get the message: "TRAPINT:1:
> not an identifier".
>
> Any kind thoughts, please?
>
> Thanks
> Joe
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-02-26 3:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-26 2:44 Joe M
2016-02-26 3:40 ` Eric Cook
2016-02-28 13:40 ` Joe M
2016-02-28 13:56 ` Joe M
2016-02-26 3:54 ` Joe M [this message]
2016-02-26 11:17 ` Peter Stephenson
2016-02-26 18:39 ` Bart Schaefer
2016-02-27 23:09 ` Joe M
2016-02-28 6:47 ` Bart Schaefer
2016-02-28 13:59 ` Joe M
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=20160226035455.GA4935@master \
--to=joe9mail@gmail.com \
--cc=schaefer@zsh.org \
--cc=zsh-users@zsh.org \
--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).