From d688093f7a5eb6cc6d362b36c79a510af92be50b Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Fri, 11 Sep 2020 19:38:55 +0200 Subject: [PATCH] docs: Update repaint docs force-repaint now does exactly the same thing as repaint and repaints are no longer coalesced. --- doc_src/cmds/bind.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc_src/cmds/bind.rst b/doc_src/cmds/bind.rst index d294f4a68..3b321f1e3 100644 --- a/doc_src/cmds/bind.rst +++ b/doc_src/cmds/bind.rst @@ -126,8 +126,6 @@ The following special input functions are available: - ``execute``, run the current commandline -- ``force-repaint``, reexecute the prompt functions without coalescing - - ``forward-bigword``, move one whitespace-delimited word to the right - ``forward-char``, move one character to the right @@ -168,9 +166,9 @@ The following special input functions are available: - ``pager-toggle-search``, toggles the search field if the completions pager is visible. -- ``repaint``, reexecutes the prompt functions and redraws the prompt. Multiple successive repaints are coalesced. +- ``repaint``, reexecutes the prompt functions and redraws the prompt (also ``force-repaint`` for backwards-compatibility) -- ``repaint-mode``, reexecutes the :ref:`fish_mode_prompt ` and redraws the prompt. This is useful for vi-mode. If no ``fish_mode_prompt`` exists, it acts like a normal repaint. +- ``repaint-mode``, reexecutes the :ref:`fish_mode_prompt ` and redraws the prompt. This is useful for vi-mode. If no ``fish_mode_prompt`` exists or it prints nothing, it acts like a normal repaint. - ``self-insert``, inserts the matching sequence into the command line