libvt.status¶
Rex / tmux / Ghostty OSC 7501 Program Status protocol parser and store.
Bases:
StrEnumReason categories when
StatusState.BLOCKEDrequests user action.Return the lower-cased version of the member name.
Bases:
objectValidated
OSC 7501(orOSC 9;4fallback) task status record.Hierarchical
/-delimited task identifier, or""for the root foreground task.
User-input category when
state == StatusState.BLOCKED.
Completion percentage in
0..100, when reported.
Explicit
app=identifier supplied on this record.
appwhen present, otherwise inherited from the nearest ancestor task prefix inProgramStatusStore.
Decoded UTF-8 task title (
<= 192UTF-8 bytes).
Decoded UTF-8 detail message (
<= 2048UTF-8 bytes).
Bases:
objectBounded store managing hierarchical
OSC 7501andOSC 9;4status.Apply a non-query
OSC 7501byte payload.- Returns:
(changed, updated_or_most_urgent)indicating whether store state changed and the resulting record (orNoneafter clear).- Return type:
tuple[bool,ProgramStatus|None]- Parameters:
payload (
bytes)
Map ConEmu
OSC 9;4;st;progto root status before7501arrives.
Prune
working,blocked, andidletasks at shell prompt start.- Return type:
Prune
working,blocked, andidletasks on process exit.- Return type:
Bases:
StrEnumForeground task lifecycle states defined by
OSC 7501.Return the lower-cased version of the member name.