Expand description
Bounded Program Status Protocol (OSC 7501) encoding. No terminal I/O.
Enums§
- Interaction
Kind - The actual user intervention required by an interaction.
- Program
State - Terminal record states, independent of execution authority.
- Program
Status Update - Projection commands carry no input or execution authority.
Constants§
- MIN_
VTE_ VERSION_ WITH_ SAFE_ OSC - Minimum
VTE_VERSIONwhose parser safely ignores unknown OSC sequences.
Functions§
- clear_
iterm21337 - Encode the empty iTerm2 session-status report that clears a previous one.
- encode_
iterm21337 - Encode an iTerm2 session-status report for a direct iTerm2 session.
- encode_
report - Encode a complete replacement record. An explicit owned ID is mandatory; callers cannot accidentally clear the terminal’s root or unrelated records.
- iterm21337_
status - iTerm2 session-status (OSC 21337) label and indicator for a terminal state.
- record_
segment - Generate an opaque ASCII segment without copying source identity onto the wire.
- should_
emit_ iterm21337 - Pure gate: 21337 is iTerm2-proprietary, so only direct iTerm2 sessions (no multiplexer or GNU screen between the program and the emulator).
- should_
emit_ iterm21337_ now - Live gate combining
should_emit_iterm21337withITERM_SESSION_ID/TMUX/STYdetection. - vte_
allows_ unknown_ osc - Live gate combining
vte_version_allows_unknown_oscwith the process environment. - vte_
version_ allows_ unknown_ osc - Pure gate: whether a
VTE_VERSIONvalue permits unknown-OSC emission.