KetraTerm
API · DevelopmentAll versions

requestWindowReport

abstract fun requestWindowReport(mode: Int)

Enqueues an allowlisted window report response using current host geometry. Pixel-size query reports remain silent when the host has not supplied usable dimensions. Cell pixel dimensions use the integer text-area pixel size divided by the grid dimensions. Callers must enforce terminal-response permission for application queries.

Parameters

mode

the report selector, such as WINDOW_REPORT_PIXELS, WINDOW_REPORT_CELL_PIXELS, or WINDOW_REPORT_GRID_CELLS; unsupported selectors are ignored.