mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 17:06:30 +00:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user