Skip to main content

MIN_VTE_VERSION_WITH_SAFE_OSC

Constant MIN_VTE_VERSION_WITH_SAFE_OSC 

Source
pub const MIN_VTE_VERSION_WITH_SAFE_OSC: u32 = 5400;
Expand description

Minimum VTE_VERSION whose parser safely ignores unknown OSC sequences.

Older VTE-based terminals may mishandle unrecognized OSC bytes, so default-on emission skips them. Gate adapted from Codex (codex-rs/tui/src/terminal_program_status.rs, openai/codex#52725, Apache-2.0): absent or unparsable versions are treated as safe.