T34: prompts and commands carry OSC 133 marks: the tap reads every OSC body and hands 133's marks to the session, which keeps its last command's status; zsh, bash, fish and PowerShell mark what the shell leaves unmarked, and the user's prompt still sees the status
CI / platforms (ubuntu-24.04) (push) Successful in 1m2s
CI / platforms (windows-latest) (push) Successful in 1m45s
CI / macos (push) Successful in 12m10s

This commit is contained in:
ZacharyZhang-NY committed 2026-10-16 22:16:50 -04:00
1 parent cccfb2c82b
commit c53b540f42
18 files changed
+359 -88

No files matched your search

+2
View File
@@ -24,6 +24,8 @@ pub struct Session {
pub reports: bool,
/// A bell rang while it was hidden.
pub bell: bool,
/// The last command's exit status, as its shell reported it; none before one, or when it gave none.
pub status: Option<i32>,
pub _events: Subscription,
}