mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 15:28:17 +00:00
ui: Increase cursor row when text being rendered would cross its limit
This commit is contained in:
@@ -458,6 +458,9 @@ static void parse_abstract_ui_codes(uint8_t *ptr, int len)
|
|||||||
UI_CALL(put, NULL, 0);
|
UI_CALL(put, NULL, 0);
|
||||||
col++;
|
col++;
|
||||||
}
|
}
|
||||||
|
if (col >= width) {
|
||||||
|
ui_cursor_goto(row + 1, 0);
|
||||||
|
}
|
||||||
p += clen;
|
p += clen;
|
||||||
}
|
}
|
||||||
ptr = p;
|
ptr = p;
|
||||||
|
Reference in New Issue
Block a user