kMinTerminalColumns top-level constant
int
const kMinTerminalColumns
Smallest grid the VT model can represent. A fullwidth glyph writes its cell
plus a trailing spacer, so a single-column grid makes the engine index past
the row end and panic. The native engine clamps to this floor at its size
boundary; producers (viewport layout, PTY geometry) clamp here too so they
never even ask for a degenerate grid. Keep in sync with MIN_COLUMNS /
MIN_SCREEN_LINES in rust/src/engine.rs.
Implementation
const int kMinTerminalColumns = 2;