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
This commit is contained in:
18 files changed
+359
-88
No files matched your search
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user