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
e1da130ca9
commit
7703fd328c
@ -479,7 +479,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