Get text attributes at the specified coordinates
int getAttributes(int x, int y) { final index = _getIndex(x, y); return attributes[index]; }