From 4dca906e197b79080a02a55862f1ec58333a400a Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Wed, 8 Apr 2026 18:49:31 -0700 Subject: [PATCH] Support Warp for OSC 9 notifications (#17174) Problem: Warp supports OSC 9 notifications, but the TUI's automatic notification backend selection did not recognize its `TERM_PROGRAM=WarpTerminal` environment value. Solution: Treat `TERM_PROGRAM=WarpTerminal` as OSC 9-capable when choosing the TUI desktop notification backend. --- codex-rs/tui/src/notifications/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/tui/src/notifications/mod.rs b/codex-rs/tui/src/notifications/mod.rs index ff5e3defa..e5e108599 100644 --- a/codex-rs/tui/src/notifications/mod.rs +++ b/codex-rs/tui/src/notifications/mod.rs @@ -56,7 +56,7 @@ fn supports_osc9() -> bool { // that don't set it (e.g., tmux/ssh) to avoid regressing OSC 9 support. if matches!( env::var("TERM_PROGRAM").ok().as_deref(), - Some("WezTerm" | "ghostty") + Some("WezTerm" | "WarpTerminal" | "ghostty") ) { return true; }