pub fn iterm21337_status(state: ProgramState) -> (&'static str, &'static str)Expand description
iTerm2 session-status (OSC 21337) label and indicator for a terminal state.
Finished states read as idle, as does Clear (defensive: callers clear via
the empty report instead); only the label/color pair travels. Mapping
adapted from Codex (codex-rs/tui/src/terminal_program_status.rs,
openai/codex#52725, Apache-2.0).