setUnderlineColor method

void setUnderlineColor(
  1. int x,
  2. int y,
  3. int ulColor
)

Sets the SGR 58 underline color at (x, y) (0 resets to default foreground).

Implementation

void setUnderlineColor(int x, int y, int ulColor) {
  if (!isCellValid(x, y)) return;
  _setUnderlineColorAt(y * width + x, ulColor);
}