[FEATURE] Windows Terminal: OSC 9;4 progress is turned off although Windows Terminal renders it
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cli
Research direction
Find the terminal capability check that returns false when WT_SESSION is set, then read the supported-terminal checks that follow it. Update the detection so Windows Terminal can report OSC 9;4 progress, and check how progress is cleared when a turn ends. Done means progress appears in Windows Terminal during work and clears afterward; the issue does not name a file or test.
Written by the indexing model from the issue text.
Description
Preflight Checklist
- I have searched existing requests and this feature hasn't been requested yet
- This is a single feature request (not multiple features)
Problem Statement
Claude Code never sends the OSC 9;4 progress sequence under Windows Terminal. Its terminal check returns false as soon as WT_SESSION is set, before it looks at the list of supported terminals.
Windows Terminal has supported OSC 9;4 since 1.6 (microsoft/terminal#8055, merged in November 2020). It shows a ring over the tab icon and progress on its taskbar button. Intelligent Terminal sets WT_SESSION too, so progress is off there as well. Dropping the WT_SESSION check alone wouldn't be enough: Windows Terminal sets no TERM_PROGRAM, so the checks after it return false too.
Proposed Solution
Treat WT_SESSION as a terminal that supports progress, or add a setting that turns progress reporting on for any terminal.
Alternative Solutions
Hooks that emit ESC ]9;4;3;0 BEL on UserPromptSubmit and ESC ]9;4;0 BEL on Stop and Interrupt through terminalSequence. This works since Interrupt arrived in 2.1.335, but it starts a process per event (about a second on my machine), and nothing clears the ring on exit the way the native reporter does.
Priority
Low - Nice to have
Feature Category
Interactive mode (TUI)
Use Case Example
- Several Claude Code sessions run in Windows Terminal tabs.
- A background tab shows the ring while its session works, and the ring goes away when the turn ends.
Additional Context
#87049 asked for the same thing in another terminal and was closed as inactive. Claude Code 2.1.335, Windows 11, Windows Terminal 1.25, Intelligent Terminal 0.3.3301.0.
- Dominant language
- TypeScript
- Stars
- 158k
- Forks
- 25.1k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from anthropics/claude-code
-
area:tools bug has repro
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
anthropics/claude-code#113984 ·
-
area:docs bug documentation
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
anthropics/claude-code#113843 ·
-
area:hooks area:plugins bug platform:windows
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
anthropics/claude-code#113812 ·
-
area:tui bug has repro platform:linux
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anthropics/claude-code#113774 ·
-
area:ide bug has repro platform:macos platform:vscode
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
anthropics/claude-code#113738 ·
All issues in anthropics/claude-code
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
tashfeenahmed/freellmapi#2305 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
prime-radiant-inc/evener#8335 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vercel-labs/ui#1921 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 65/100
microsoft/monaco-editor#5626 ·
Maintainers usually reply within 1 day