setAttributes method

void setAttributes(
  1. int x,
  2. int y,
  3. int attr
)

Set text attributes at the specified coordinates

Implementation

void setAttributes(int x, int y, int attr) {
  final index = _getIndex(x, y);
  attributes[index] = attr;
}