setPenAttributes
abstract fun setPenAttributes(fg: Int, bg: Int, bold: Boolean = false, faint: Boolean = false, italic: Boolean = false, underlineStyle: UnderlineStyle = UnderlineStyle.NONE, strikethrough: Boolean = false, overline: Boolean = false, blink: Boolean = false, inverse: Boolean = false, conceal: Boolean = false, underlineColor: Int = 0)
Sets the active pen attributes used by all subsequent write and erase operations.
Out-of-range colour codes are clamped to the nearest valid value.
Parameters
fg
Foreground colour code (0 = default, 1..256 = indexed palette colors).
bg
Background colour code (0 = default, 1..256 = indexed palette colors).
bold
true to enable bold weight.
faint
true to enable faint/dim intensity.
italic
true to enable italic style.
underlineStyle
underline presentation style.
strikethrough
true to enable strikethrough decoration.
overline
true to enable overline decoration.
blink
true to enable blinking text presentation.
inverse
true to enable inverse/reverse-video.
conceal
true to mark text as concealed/hidden.
underlineColor
Underline colour code (0 = default/foreground, 1..256 = indexed palette colors).