mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 23:08:16 +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);
|
||||
col++;
|
||||
}
|
||||
if (col >= width) {
|
||||
ui_cursor_goto(row + 1, 0);
|
||||
}
|
||||
p += clen;
|
||||
}
|
||||
ptr = p;
|
||||
|
Reference in New Issue
Block a user