Skip to content

iTerm supports OSC 9;4#2927

Merged
sunshowers merged 1 commit intonextest-rs:mainfrom
case:osc94-add-iTerm
Jan 14, 2026
Merged

iTerm supports OSC 9;4#2927
sunshowers merged 1 commit intonextest-rs:mainfrom
case:osc94-add-iTerm

Conversation

@case
Copy link
Copy Markdown
Contributor

@case case commented Jan 13, 2026

Similar to #2724

it would be really nice if there was an universally established protocol to query supported emulator features, too late for that

Yup. :/

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 13, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 80.96%. Comparing base (141824b) to head (2b567bb).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
nextest-runner/src/reporter/displayer/progress.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2927      +/-   ##
==========================================
- Coverage   80.96%   80.96%   -0.01%     
==========================================
  Files         124      124              
  Lines       30160    30160              
==========================================
- Hits        24420    24419       -1     
- Misses       5740     5741       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sunshowers
Copy link
Copy Markdown
Member

Thanks. You may want to send the same fix over to Cargo: https://github.com/rust-lang/cargo/blob/6451eb8ea679514fd45c28a0dff1a53142f6e0a9/src/cargo/core/shell.rs#L638-L645

@sunshowers sunshowers merged commit bdfcf9d into nextest-rs:main Jan 14, 2026
23 checks passed
@case case deleted the osc94-add-iTerm branch January 21, 2026 06:09
github-merge-queue Bot pushed a commit to rust-lang/cargo that referenced this pull request Jan 22, 2026
### What does this PR try to resolve?

Per the iTerm [version 3.6.6 release](https://iterm2.com/downloads.html)
- "Add support for OSC 9;4 progress bars"

I added iTerm to `nextest`
[here](nextest-rs/nextest#2927) and they
suggested I add it to Cargo as well.

### How to test and review this PR?

I've test this locally, but it isn't really a unit test or integration
test candidate.

Here's the output from my local iTerm console:

```shell
$ echo $TERM_PROGRAM
iTerm.app
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants