Compare commits

...

1 Commits

Author SHA1 Message Date
Michael Bolin
aea299c5eb fix: tui launch latency by disabling osc probe 2025-10-07 19:30:32 -07:00

View File

@@ -104,6 +104,12 @@ mod imp {
return Ok(None);
}
// Many modern GPU terminals ignore OSC, so only perform the query on
// terminals known to support it.
if !codex_core::terminal::user_agent().starts_with("iTerm.app") {
return Ok(None);
}
let mut tty = match OpenOptions::new().read(true).write(true).open("/dev/tty") {
Ok(file) => file,
Err(_) => return Ok(None),