aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui_compositor.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-10-06 11:21:46 +0200
committerGitHub <noreply@github.com>2023-10-06 11:21:46 +0200
commit4e4ad4312e6b3755a2114ab81c62033e6bc616fe (patch)
tree47a001c75011fde22a471e725b25305660ffe469 /src/nvim/ui_compositor.c
parenta6cccd728a5b9363661c3daf79046afe4b37a5ee (diff)
parenta58bb215449cee65b965b9094e9e996ddfe78315 (diff)
downloadrneovim-4e4ad4312e6b3755a2114ab81c62033e6bc616fe.tar.gz
rneovim-4e4ad4312e6b3755a2114ab81c62033e6bc616fe.tar.bz2
rneovim-4e4ad4312e6b3755a2114ab81c62033e6bc616fe.zip
Merge pull request #25513 from bfredl/cleangrid
refactor(grid): get rid of unbatched grid_puts and grid_putchar
Diffstat (limited to 'src/nvim/ui_compositor.c')
-rw-r--r--src/nvim/ui_compositor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ui_compositor.c b/src/nvim/ui_compositor.c
index 0f26e269ae..8c16380f1f 100644
--- a/src/nvim/ui_compositor.c
+++ b/src/nvim/ui_compositor.c
@@ -532,7 +532,7 @@ void ui_comp_raw_line(Integer grid, Integer row, Integer startcol, Integer endco
compose_debug(row, row + 1, startcol, clearcol, dbghl_composed, true);
compose_line(row, startcol, clearcol, flags);
} else {
- compose_debug(row, row + 1, startcol, endcol, dbghl_normal, false);
+ compose_debug(row, row + 1, startcol, endcol, dbghl_normal, endcol >= clearcol);
compose_debug(row, row + 1, endcol, clearcol, dbghl_clear, true);
#ifndef NDEBUG
for (int i = 0; i < endcol - startcol; i++) {