| public |
cell |
Returns the cell at the given coordinate. |
| public |
clear clear() as Void
|
Clears the frame with spaces and the default style. |
| public |
contains |
Returns true when the coordinate belongs to the frame. |
| public |
copy |
Returns a deep copy of the frame. |
| public |
copyRegion |
Returns a sub-frame copy. |
| public |
defaultStyle |
Returns the default style of the frame. |
| public |
fillRect |
Fills a rectangular region with the same glyph and style. |
| public static |
glyphClusterDisplayWidth |
No summary. |
| public static |
glyphDisplayWidthglyphDisplayWidth(glyph as Char) as Int |
Returns the number of terminal columns occupied by one Unicode scalar. |
| public |
invertRangeinvertRange(row as Int, startCol as Int, endCol as Int) as Void |
Inverts the visual style of a horizontal cell range [startCol, endCol) on a row. |
| public static |
nextGlyphClusterEnd |
No summary. |
| public static |
previousGlyphClusterStart |
No summary. |
| public static |
textDisplayWidth |
Returns the terminal display width of plain text. |
| public |
toAnsiText |
Returns the frame as ANSI text for debug snapshots. |
| public |
toPlainText |
Returns the frame as exact plain text, one line per row. |
| public static |
trimTextToDisplayWidth |
Trims plain text to a terminal display width without splitting wide glyphs or emoji grapheme clusters. |
| public |
writeCell |
Writes one logical glyph. |
| public |
writeStyledText |
Writes plain text using a fixed style, without ANSI parsing. |
| public |
writeTextwriteText(row as Int, col as Int, text as String, maxWidth as Int = -1) as Void |
Writes ANSI-capable text into the frame. |