mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ui: Use ui_linefeed to handle line breaks correctly
ui_linefeed will scroll the screen when it becomes full. This can happen when executing external commands.
This commit is contained in:
parent
b4f516a36a
commit
dac1cee907
@ -482,7 +482,7 @@ static void parse_abstract_ui_codes(uint8_t *ptr, int len)
|
||||
col++;
|
||||
}
|
||||
if (col >= width) {
|
||||
ui_cursor_goto(row + 1, 0);
|
||||
ui_linefeed();
|
||||
}
|
||||
p += clen;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user