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 fc8f768690
commit 6c447848bb

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;