Columns text takes up on screen, ignoring escape sequences.
text
int displayWidth(String text) { var width = 0; for (final rune in Style.strip(text).runes) { width += runeWidth(rune); } return width; }