Expand description
Program status reports and feature detection through OSC 7501.
Each report replaces one terminal record. An absent ID selects the root. A clear report removes its record and descendants; clearing the root removes all records. Screen switches leave records intact. Done and error records survive process exit and the next shell prompt.
Writers use ESC ] 7501 ; pairs ESC \. Messages and titles are standard
base64 of UTF-8. Unsupported terminals ignore these sequences.
See the protocol specification.
Structs§
- Program
Status - A complete OSC 7501 report, with borrowed text.
- Program
Status Kind - What a blocked program needs from the user.
- Program
Status State - State of a program or one of its tasks.
Constants§
- REQUEST_
PROGRAM_ STATUS - Query OSC 7501 support. The reply starts with
?and may list accepted states and kinds.
Functions§
- write_
program_ status - Write one complete program status report without flushing.