AsciiPanelView / writeStringWithPos

writeStringWithPos

fun writeStringWithPos(string: String, x: Int, y: Int): AsciiPanelView

Write a string to the specified position. This updates the cursor's position.

Parameters

string - the string to write

x - the distance from the left to begin writing from

y - the distance from the top to begin writing from

Return
this for convenient chaining of method calls