clear method

void clear()

Clears the contents of this cell.

Resets char to a space ' ', removes any foreground/background color, and clears all font styles.

Implementation

void clear() {
  char = ' ';
  fg = null;
  bg = null;
  styles.clear();
}