writeString
fun writeString(x: Int, y: Int, text: String, foreground: Color? = null, background: Color? = null, bold: Boolean? = null, italic: Boolean? = null, underline: Boolean? = null, strikethrough: Boolean? = null)(source)
Writes a string into the buffer at the specified coordinates.
Text that exceeds the buffer width will be truncated. Providing null for any style parameter will preserve the existing value in those cells.