From 625db1d3f61b20282363b5357e65f8451d618552 Mon Sep 17 00:00:00 2001 From: David Adam Date: Sat, 14 Dec 2019 22:35:58 +0800 Subject: [PATCH] docs: add fish_cancel event Introduced in 2dcaf4f5c058 as part of #5973. [ci skip] --- sphinx_doc_src/cmds/function.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sphinx_doc_src/cmds/function.rst b/sphinx_doc_src/cmds/function.rst index 173072e5c..52724cf8a 100644 --- a/sphinx_doc_src/cmds/function.rst +++ b/sphinx_doc_src/cmds/function.rst @@ -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 -------