diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-29 15:06:50 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-29 15:06:50 +0100 |
commit | 13608d851a0470ced30921428b3313c023d395d8 (patch) | |
tree | 2e15e6c6a263703e8e293df3e852f6dbc9c092f0 /src/misc1.c | |
parent | b13d3405fffae1115acc1433479b616f30e292e5 (diff) |
patch 9.0.0318: clearing screen causes flickerv9.0.0318
Problem: Clearing screen causes flicker.
Solution: Do not clear but redraw in more cases. Add () to "wait_return".
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c index e8216a08ae..8257f7680a 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -616,7 +616,7 @@ ask_yesno(char_u *str, int direct) while (r != 'y' && r != 'n') { - // same highlighting as for wait_return + // same highlighting as for wait_return() smsg_attr(HL_ATTR(HLF_R), "%s (y/n)?", str); if (direct) r = get_keystroke(); |