struct SetForegroundColor
source · line 8public
public struct SetForegroundColor(val color: Color) : Command
- Supertype
Command
Sets the foreground color subject to the library color-output policy.
function writeAnsi
source · line 13public
public override fun writeAnsi(writer: TextWriter): Unit
- Overrides
writeAnsi· Command
Writes this command's ANSI representation to the supplied writer without flushing it. Parameter validation happens before or during serialization.
parameter writer
source · line 13public
writer: TextWriter
constructor constructor
source · line 8public
constructor(val color: Color)
parameter color
source · line 8public
val color: Color
field color
source · line 8public
val color: Color
function equals
source · line 8publiccompiler-derived
operator fun equals(other: SetForegroundColor): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: Color.