zsh-workers
 help / color / mirror / Atom feed
* How to interrupt zed (i.e. vared) manually?
@ 2019-08-18 23:17 Sebastian Gniazdowski
  0 siblings, 0 replies; only message in thread
From: Sebastian Gniazdowski @ 2019-08-18 23:17 UTC (permalink / raw)
  To: Zsh hackers list

Hello,
adding:

trap "zle .send-break; return 1;" INT

to __zed_init (a function passed to vared via `... -i __zed_init ...')
obtains a half-success – it proves that vared's reaction to INT can be
controlled, as vared doesn't exit, however it reveals a next problem:
how to exit vared manually – from the trap?

-- 
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-18 23:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-18 23:17 How to interrupt zed (i.e. vared) manually? Sebastian Gniazdowski

zsh-workers

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/zsh-workers

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 zsh-workers zsh-workers/ http://inbox.vuxu.org/zsh-workers \
		zsh-workers@zsh.org
	public-inbox-index zsh-workers

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.workers


code repositories for the project(s) associated with this inbox:

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

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git