Skip to main content

Module term_size

Module term_size 

Source
Expand description

The size each block’s PTY was last given: at spawn (its runtime options) and on every resize. Kept so a reader that doesn’t drive the terminal (a paired device watching it) can render at the desktop’s width; the PTY itself keeps no record srv can ask.

Statics§

SIZES 🔒

Functions§

forget
Forget block_id (its controller is gone).
get
block_id’s PTY size as (rows, cols), if it has had one since srv started.
record
Record block_id’s PTY size as (rows, cols).