docs/bind: improve description of cancel binding

Closes #9644
This commit is contained in:
David Adam
2025-02-26 21:23:40 +08:00
parent 3688dd01ba
commit 8ec1a3e7b9

View File

@@ -163,7 +163,7 @@ The following special input functions are available:
start selecting text
``cancel``
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, or otherwise cancel the current commandline and replace it with a new empty one
``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