T37: programs ask for notifications through OSC 9, 777 and 99, read as Ghostty and kitty read them, OSC 99's chunks gathered by id with base64, options, close, query and alive, and the workspace hears each; OSC 9;4's progress stands as the root record until a program reports through OSC 7501, and again after a full reset
CI / platforms (windows-latest) (push) Successful in 1m39s
CI / platforms (ubuntu-24.04) (push) Successful in 2m31s
CI / macos (push) Successful in 29m38s

This commit is contained in:
ZacharyZhang-NY committed 2026-10-17 01:23:09 -04:00
1 parent 30e65e3435
commit ef33a0d34e
12 files changed
+680 -15

No files matched your search

+3 -1
View File
@@ -11,7 +11,7 @@ use alacritty_terminal::{
};
use futures::channel::mpsc::{UnboundedReceiver, UnboundedSender, unbounded};
use super::{marks::Mark, mouse::MouseMode, status::Status, tap::Tapped};
use super::{marks::Mark, mouse::MouseMode, notify::Ask, status::Status, tap::Tapped};
use crate::settings::{CursorStyle, Settings};
/// What a session hears from its pty.
@@ -23,6 +23,8 @@ pub enum PtyEvent {
Mark(Mark),
/// A program's status, OSC 7501.
Status(Status),
/// A notification or progress, OSC 9, 777 or 99.
Ask(Ask),
/// A full reset, `ESC c`.
Reset,
}