Esc

Vt_Options

structextensionsince 0.36.1Source
  • macOS: Vt_Options works on macOS
  • Linux: Vt_Options works on Linux
  • Windows: Vt_Options works on Windows
  • Wasm: Vt_Options works on Wasm

Declaration

Vt_Options :: struct {
// includes colon subparameters and OSC fields, at most 64    max_params: int = 32;    max_param_value: u32 = 65535;// at most 8    max_intermediates: int = 2;// at most 4096, including semicolons    max_osc_bytes: int = 4096;// raw 8-bit controls; UTF-8 continuation bytes take precedence in ground    c1: bool;}

Limits and modes for a Vt_Parser; set them before the first vt_feed. A sequence that goes over a limit is dropped and reported as .LIMIT.

See also