Skip to main content

Module op

Module op 

Source
Expand description

Common XTWINOPS operation numbers.

Each value is the first Ps parameter in an XTWINOPS CSI ... t sequence. Pass one as the p argument to write_window_op; any extra Ps parameters are operation-specific. These constants only name window operation numbers; they do not enable terminal modes.

Constantsยง

REQUEST_CELL_SIZE
Operation 16: request character-cell pixel size with ESC [ 16 t; replies use operation 6 with height and width.
REQUEST_TEXT_AREA_SIZE
Operation 18: request text-area size in cells with ESC [ 18 t; replies use operation 8 with rows and columns.
REQUEST_WINDOW_SIZE
Operation 14: request window pixel size with ESC [ 14 t; replies use operation 4 with height and width.
RESIZE_WINDOW
Operation 4: resize the window in pixels with arguments height ; width, yielding ESC [ 4 ; <height> ; <width> t.