zsh-users
 help / color / mirror / code / Atom feed
* ZLE_LINE_ABORTED: how to restore the last non-blank aborted line?
@ 2016-09-28  4:11 Hong Xu
  2016-09-29  7:12 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Hong Xu @ 2016-09-28  4:11 UTC (permalink / raw)
  To: zsh-users


[-- Attachment #1.1: Type: text/plain, Size: 425 bytes --]

Hi all,

While ZLE_LINE_ABORTED is useful for preserving the last aborted line,
but I think the real interest is the last aborted non-blank line --
ZLE_LINE_ABORTED would turn empty if ^C is pressed on an empty line
disregarding what it was. This is annoying since sometimes auto
completion stuck and more than one ^C is used to cancel that.

Is there any way to preserve it in this case in zsh? Thanks!

Hong



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-29  7:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-28  4:11 ZLE_LINE_ABORTED: how to restore the last non-blank aborted line? Hong Xu
2016-09-29  7:12 ` Bart Schaefer
2016-09-29  7:32   ` Hong Xu
2016-09-29  7:50     ` Mikael Magnusson

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).