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-07-04 14:58:02 -07:00
2020-09-08 11:55:10 -05:00
2020-08-06 21:24:26 +02:00
2019-10-13 15:50:48 -07:00
2020-08-15 16:06:54 -07:00
2020-06-24 20:43:56 +02:00
2020-07-29 16:37:39 -07:00
2020-03-14 15:07:54 -07:00
2020-07-29 16:37:39 -07:00
2020-06-25 00:56:49 -05:00
2020-09-08 22:44:03 +02:00
2020-03-14 15:07:54 -07:00
2020-08-06 11:51:08 -07:00
2020-07-14 15:19:10 -07:00
2020-07-08 11:00:12 -07:00
2020-02-12 22:02:32 +01:00
2020-07-04 14:58:05 -07:00
2020-04-05 10:13:13 +02:00
2020-03-14 15:07:54 -07:00
2020-09-05 13:24:26 -07:00
2020-09-05 13:24:26 -07:00
2020-05-22 13:41:05 -07:00
2020-03-06 17:15:21 -08:00
2020-09-03 11:01:27 -07:00
2020-09-03 11:01:27 -07:00
2019-10-23 19:38:44 +02:00
2020-08-08 15:32:06 -07:00
2020-09-03 11:01:27 -07:00
2020-09-03 11:01:27 -07:00
2020-01-15 13:16:43 -08:00
2019-10-13 15:50:48 -07:00
2020-05-01 13:30:56 -07:00
2019-11-25 13:07:15 +01:00
2020-08-06 19:01:30 -07:00
2020-04-05 10:13:13 +02:00
2020-01-03 01:07:49 -06:00
2020-07-07 13:48:35 -07:00
2020-08-24 12:12:10 -07:00
2020-05-01 13:30:56 -07:00
2020-02-14 19:06:19 +01:00
2020-07-29 19:36:20 -07:00
2020-07-29 19:36:20 -07:00
2020-02-29 15:56:52 -08:00
2020-09-08 22:44:03 +02:00