requestWindowSizeReport static method

Cmd requestWindowSizeReport()

Request the terminal to report its character cell size (rows/cols).

Terminals that support xterm window ops respond to CSI 18 t with CSI 8 ; <rows> ; <cols> t, which UV decoding maps to WindowSizeMsg.

Implementation

static Cmd requestWindowSizeReport() => writeRaw('\x1b[18t');