writeText

abstract fun writeText(text: String)

Writes text literally to the buffer using the active pen attributes.

Control characters (\n, \r, \t, etc.) are not interpreted; they are written as ordinary codepoints. This convenience path is scalar-only: it forwards each decoded codepoint independently and does not perform grapheme segmentation. Use writeCluster from a parser/segmenter when a complete grapheme sequence must be written as one cell.

Parameters

text

Text to write.