zsh-workers
 help / color / mirror / code / 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

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