Status line configured in settings.json is never executed/rendered on native Windows (v2.1.268)
Status Open
Reported on v2.1.268
Maintainer reply None cached
Activity 0 comments · opened Sep 11, 2026
Summary
A valid statusLine command in ~/.claude/settings.json is never executed and never rendered on native Windows. claude doctor reports no issues and reads the settings file fine. The footer keyboard hints are also NOT reduced (the docs say they should be reduced when a status line is active), which suggests the status line is never activated at all.
Environment (from claude doctor)
- Running: native (2.1.268)
- Platform: win32-x64
- Config install method: native
- Path: C:\Users\<user>\.local\bin\claude.exe
- Account: Claude Pro
- Git for Windows: NOT installed (native Windows -> PowerShell shell tool)
settings.json
{
"statusLine": {
"type": "command",
"command": "powershell -NoProfile -ExecutionPolicy Bypass -File C:\\Users\\<user>\\claude-statusline.ps1"
},
"autoUpdatesChannel": "latest",
"theme": "dark"
}
What I verified
- The command works standalone: piping the sample statusLine JSON to it prints the expected line (e.g.
[Sonnet 5] | ctx:9% | 5h:24% (res 20:00) | cost:$0.12). - I instrumented the script to append to a log file on every invocation. After several fresh sessions + messages, the log file is NEVER created -> Claude Code never executes the command.
- Same result with a Python script (
python ...\claude-statusline.py) and a PowerShell script. - Same result with Remote Control connected and disconnected (
/remote-control). claude doctor-> "No installation issues found."- No
settings.local.jsonor any other override exists in~/.claude/.
Steps to reproduce
- Native Windows, no Git for Windows. Install Claude Code (native).
- Add a valid
statusLinecommand to~/.claude/settings.json. - Start
claude, send a message. - No status line row is rendered; the configured command is never executed.
Expected
The status line command runs and its output renders above the footer, and the footer keyboard hints are reduced.
Actual
Nothing renders; the command is never executed (verified via logging).