mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
fix(ui): don't send empty grid_line with redrawdebug=compositor (#23899)
This commit is contained in:
@@ -439,7 +439,7 @@ static void compose_line(Integer row, Integer startcol, Integer endcol, LineFlag
|
||||
static void compose_debug(Integer startrow, Integer endrow, Integer startcol, Integer endcol,
|
||||
int syn_id, bool delay)
|
||||
{
|
||||
if (!(rdb_flags & RDB_COMPOSITOR)) {
|
||||
if (!(rdb_flags & RDB_COMPOSITOR) || startcol >= endcol) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user