diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-30 06:26:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-30 06:26:06 +0800 |
commit | f58a9795990a3b324f66912e4ae33dae7eb7474d (patch) | |
tree | b54832bd6d6b2b1a11aaf7c041a5a6fbf78537db /src/nvim/ex_cmds.c | |
parent | e78e369a9d2db356cb6c3b3e4e50548fab1ee21d (diff) | |
download | rneovim-f58a9795990a3b324f66912e4ae33dae7eb7474d.tar.gz rneovim-f58a9795990a3b324f66912e4ae33dae7eb7474d.tar.bz2 rneovim-f58a9795990a3b324f66912e4ae33dae7eb7474d.zip |
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".
https://github.com/vim/vim/commit/13608d851a0470ced30921428b3313c023d395d8
Only 2 lines of actual code change.
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 57eb2f526f..ba6594fd7a 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -1347,7 +1347,8 @@ static void do_filter(linenr_T line1, linenr_T line2, exarg_T *eap, char *cmd, b msg_putchar('\n'); // Keep message from buf_write(). no_wait_return--; if (!aborting()) { - semsg(_("E482: Can't create file %s"), itmp); // Will call wait_return. + // will call wait_return() + semsg(_("E482: Can't create file %s"), itmp); } goto filterend; } |