Skip to main content

Module winop

Module winop 

Source
Expand description

XTWINOPS window-operation requests and reports.

§Category

XTWINOPS is the CSI t family for window and text-area operations such as resizing and querying pixel or cell dimensions.

§CSI format

The generic shape is ESC [ op [;arg...] t. Operation numbers are decimal; additional parameters are operation-specific.

§Mode interaction

XTWINOPS requests are not enabled by a mode in this module. Related in-band resize notifications are controlled separately by Mode::IN_BAND_RESIZE.

Modules§

op
Common XTWINOPS operation numbers.

Constants§

REQUEST_CELL_PIXEL_SIZE
Request character-cell pixel size: exact bytes ESC [ 16 t (b"\x1b[16t").
REQUEST_WINDOW_PIXEL_SIZE
Request window pixel size: exact bytes ESC [ 14 t (b"\x1b[14t").

Functions§

write_window_op
Encode a generic XTWINOPS sequence.