docs: add fish_cancel event

Introduced in 2dcaf4f5c0 as part of #5973.

[ci skip]
This commit is contained in:
David Adam 2019-12-14 22:35:58 +08:00
parent 012773436e
commit 625db1d3f6

View File

@ -62,6 +62,8 @@ By using one of the event handler switches, a function can be made to run automa
- ``fish_exit`` is emitted right before fish exits.
- ``fish_cancel``, which is emitted when a commandline is cleared (used for terminal-shell integration).
Example
-------