Fabian Homborg 30b2dc2b97 Don't enqueue a repaint in the middle of one
This can easily lead to an infinite loop, if a variable handler
triggers a repaint and the variable is set in the prompt, e.g. some of
the git variables.

A simple way to reproduce:

    function fish_mode_prompt
        commandline -f repaint
    end

Repainting executes the mode prompt, which triggers a repaint, which
triggers the mode prompt, ....

So we just set a flag and check it.

Fixes #7324.
2020-09-11 19:23:26 +02:00
..
2020-09-09 20:23:08 +02:00
2017-07-25 12:44:26 -07:00
2020-06-14 19:30:03 +02:00
2020-09-06 11:15:54 +02:00