Make new ctrl-c behavior "clear-commandline"

And leave the old behavior under the name "cancel-commandline".

This renames "cancel-commandline-traditional" back to
"cancel-commandline", so the old name triggers the old behavior.

Fixes #10935
This commit is contained in:
Fabian Boehm
2025-01-14 19:58:26 +01:00
parent 8e141070b2
commit 806734cc56
7 changed files with 14 additions and 8 deletions

View File

@@ -170,6 +170,9 @@ The following special input functions are available:
``capitalize-word``
make the current word begin with a capital letter
``clear-commandline``
empty the entire commandline
``clear-screen``
clears the screen and redraws the prompt. if the terminal doesn't support clearing the screen it is the same as ``repaint``.