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:
Thiago de Arruda 2015-01-10 22:44:29 -03:00
parent b4f516a36a
commit dac1cee907

View File

@ -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;
}