struct Print
source · line 53public
public struct Print<T : ToString>(val content: T) : Command
- Supertype
Command
Writes the content's ToString result as supplied, without escaping terminal control sequences.
type parameter T
source · line 53public
T : ToString
field content
source · line 53public
val content: T
function writeAnsi
source · line 58public
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 58public
writer: TextWriter
constructor constructor
source · line 53public
constructor(val content: T)
parameter content
source · line 53public
val content: T
function equals
source · line 53publiccompiler-derived
operator fun equals(other: Print<T>): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: T.