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 e1da130ca9
commit 7703fd328c

View File

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