mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ui: Increase cursor row when text being rendered would cross its limit
This commit is contained in:
parent
fc8f768690
commit
6c447848bb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user