mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 20:08:17 +00:00
refactor(ui): remove some superfluous ui_flush() calls
- <expr> mapping has no business saving and restoring the low-level UI cursor. The cursor will be put in a reasonable position after input is processed, chill out. - TUI handles output needed for suspend - vgetc() family of function does flushing
This commit is contained in:
@@ -2150,8 +2150,7 @@ void ex_function(exarg_T *eap)
|
||||
}
|
||||
}
|
||||
msg_prt_line(FUNCLINE(fp, j), false);
|
||||
ui_flush(); // show a line at a time
|
||||
os_breakcheck();
|
||||
line_breakcheck(); // show multiple lines at a time!
|
||||
}
|
||||
if (!got_int) {
|
||||
msg_putchar('\n');
|
||||
|
Reference in New Issue
Block a user