docs: Update repaint docs

force-repaint now does exactly the same thing as repaint and repaints
are no longer coalesced.
This commit is contained in:
Fabian Homborg 2020-09-11 19:38:55 +02:00
parent 30b2dc2b97
commit d688093f7a

View file

@ -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 <cmd-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 <cmd-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