vim-patch:9.0.0318: clearing screen causes flicker (#19993)

Problem:    Clearing screen causes flicker.
Solution:   Do not clear but redraw in more cases.  Add () to "wait_return".
13608d851a

Only 2 lines of actual code change.
This commit is contained in:
zeertzjq
2022-08-30 06:26:06 +08:00
committed by GitHub
parent e78e369a9d
commit f58a979599
10 changed files with 17 additions and 16 deletions

View File

@@ -46,7 +46,7 @@ int ask_yesno(const char *const str, const bool direct)
int r = ' ';
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(NULL);