Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

How to interrupt zed (i.e. vared) manually?



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



Messages sorted by: Reverse Date, Date, Thread, Author