diff --git a/codex-rs/tui/src/notifications.rs b/codex-rs/tui/src/notifications.rs index eaa97c38c2..46892e3f8e 100644 --- a/codex-rs/tui/src/notifications.rs +++ b/codex-rs/tui/src/notifications.rs @@ -30,7 +30,7 @@ fn post_macos_notification(_: &str) -> bool { /// Command that emits an OSC 9 desktop notification with a message. #[derive(Debug, Clone)] -struct PostNotification(pub String); +pub struct PostNotification(pub String); impl Command for PostNotification { fn write_ansi(&self, f: &mut impl fmt::Write) -> fmt::Result { diff --git a/codex-rs/tui/src/tui.rs b/codex-rs/tui/src/tui.rs index e8590a3c07..74deba5ea2 100644 --- a/codex-rs/tui/src/tui.rs +++ b/codex-rs/tui/src/tui.rs @@ -37,6 +37,7 @@ use tokio_stream::Stream; use crate::custom_terminal; use crate::custom_terminal::Terminal as CustomTerminal; +use crate::notifications::PostNotification; #[cfg(unix)] use crate::tui::job_control::SUSPEND_KEY; #[cfg(unix)]