From 2f9d5ac7d67cc97f16e2f1d7a77e493da155680d Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Thu, 24 Apr 2025 19:54:11 +0200 Subject: [PATCH] docs: Correct "cancel" This never, AFAIK, emptied the commandline, and I don't think that would be a sensible thing to do --- doc_src/cmds/bind.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/cmds/bind.rst b/doc_src/cmds/bind.rst index 9b1e7d04c..db5361870 100644 --- a/doc_src/cmds/bind.rst +++ b/doc_src/cmds/bind.rst @@ -169,7 +169,7 @@ The following special input functions are available: start selecting text ``cancel`` - close the pager if it is open, or undo the most recent completion if one was just inserted, or otherwise cancel the current commandline and replace it with a new empty one + close the pager if it is open, or undo the most recent completion if one was just inserted ``cancel-commandline`` cancel the current commandline and replace it with a new empty one, leaving the old one in place with a marker to show that it was cancelled