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/os/shell.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/os/shell.c')
-rw-r--r-- | src/nvim/os/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/shell.c b/src/nvim/os/shell.c index 574543b1a5..c8267ede14 100644 --- a/src/nvim/os/shell.c +++ b/src/nvim/os/shell.c @@ -911,7 +911,7 @@ static int do_os_system(char **argv, const char *input, size_t len, char **outpu out_data_ring(NULL, SIZE_MAX); } if (forward_output) { - // caller should decide if wait_return is invoked + // caller should decide if wait_return() is invoked no_wait_return++; msg_end(); no_wait_return--; |