zsh-workers
 help / color / 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, back to index

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

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

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.workers


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