ui: Increase cursor row when text being rendered would cross its limit

This commit is contained in:
Thiago de Arruda 2014-12-12 16:26:27 -03:00
parent 4f5f246a95
commit b17005edd9

View File

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