aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/drawline.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-10-14 09:58:30 +0800
committerGitHub <noreply@github.com>2023-10-14 09:58:30 +0800
commitbf70a33f5e7de0218704126c149db24542e39766 (patch)
tree45190c96e29e86f2770ad1481fbf6d37794e76d4 /src/nvim/drawline.c
parent9f32deba56ea867a8bb9b9ab7f44bcc5142e8bbc (diff)
downloadrneovim-bf70a33f5e7de0218704126c149db24542e39766.tar.gz
rneovim-bf70a33f5e7de0218704126c149db24542e39766.tar.bz2
rneovim-bf70a33f5e7de0218704126c149db24542e39766.zip
vim-patch:8.1.0822: peeking and flushing output slows down execution (#25629)
Problem: Peeking and flushing output slows down execution. Solution: Do not update the mode message when global_busy is set. Do not flush when only peeking for a character. (Ken Takata) https://github.com/vim/vim/commit/cb574f415486adff645ce384979bfecf27f5be8c
Diffstat (limited to 'src/nvim/drawline.c')
-rw-r--r--src/nvim/drawline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/drawline.c b/src/nvim/drawline.c
index 1c7f649848..683bd61496 100644
--- a/src/nvim/drawline.c
+++ b/src/nvim/drawline.c
@@ -3287,5 +3287,5 @@ static void win_put_linebuf(win_T *wp, int row, int coloff, int endcol, int clea
}
grid_adjust(&grid, &row, &coloff);
- grid_put_linebuf(grid, row, coloff, 0, endcol, clear_width, wp->w_p_rl, bg_attr, wrap, false);
+ grid_put_linebuf(grid, row, coloff, 0, endcol, clear_width, wp->w_p_rl, bg_attr, wrap);
}