KetraTerm
API · v0.2.0All versions

getLineAsString

abstract fun getLineAsString(row: Int): String

Returns the content of a visible row as a string, trimming trailing blank cells while preserving intentional space characters.

Return

The row text, or an empty string if the row is blank or out of bounds.

Parameters

row

Visible row index (0-based).