StatusLine Configuration Not Rendering in Interface

Resolved 💬 2 comments Opened Aug 19, 2025 by fwends Closed Aug 19, 2025

Bug Description
Claude Code StatusLine Feature Bug Report

Bug Summary

The statusLine configuration option in Claude Code settings is completely non-functional. Despite
proper configuration in ~/.claude/settings.json, no status line appears in the interface.

Environment

  • Platform: macOS (Darwin 24.6.0)
  • Claude Code Version: Latest (as of 2025-01-19)
  • Settings File Location: /Users/greg/.claude/settings.json

Expected Behavior

StatusLine should display custom text/command output in the Claude Code interface based on the
configuration in settings.json.

Actual Behavior

No status line appears at all, regardless of configuration. The interface remains unchanged.

Reproduction Steps

  1. Create/edit ~/.claude/settings.json with statusLine configuration
  2. Try various configuration formats:

// Attempt 1: Object format
"statusLine": {
"type": "command",
"command": "echo 'test'"
}

// Attempt 2: Simple string
"statusLine": "echo 'test'"

// Attempt 3: With experimental flags
"experimental": {
"statusLine": true
},
"statusLine": {
"enabled": true,
"command": "echo 'test'"
}

  1. Restart Claude Code completely
  2. Use Claude Code normally

Result: No status line appears in any configuration

Configurations Tested

  • Simple echo commands
  • Complex shell scripts with JSON parsing
  • Static text output
  • Various JSON syntax formats
  • With and without experimental feature flags
  • Different command types (echo, printf, bash scripts)

Impact

Users cannot customize the status line display, which would be useful for showing:

  • Current directory/project
  • Git branch information
  • Model information
  • Custom shell prompt equivalents

Severity

Medium - Feature documented/expected but completely non-functional

Additional Notes

  • Settings file is valid JSON and other settings work correctly
  • File permissions are correct
  • Multiple debugging approaches confirmed the feature simply doesn't execute

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.84
  • Feedback ID: f8bef778-e3ab-4162-809e-a04874629264

Errors

[{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readFileSync (node:fs:433:20)\n    at Object.readFileSync (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:696:9211)\n    at leA (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:741:8545)\n    at Object.call (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1784:918)\n    at call.next (<anonymous>)\n    at oq8 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3151:12621)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async PuB (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3151:8882)","timestamp":"2025-08-19T10:45:27.744Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readFileSync (node:fs:433:20)\n    at Object.readFileSync (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:696:9211)\n    at leA (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:741:8545)\n    at Object.call (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1784:918)\n    at call.next (<anonymous>)\n    at oq8 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3151:12621)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async PuB (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3151:8882)\n    at async GTB (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1789:3411)\n    at async rq8 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3151:7993)","timestamp":"2025-08-19T10:46:45.662Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readFileSync (node:fs:433:20)\n    at Object.readFileSync (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:696:9211)\n    at leA (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:741:8545)\n    at Object.call (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1784:918)\n    at call.next (<anonymous>)\n    at oq8 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3151:12621)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async PuB (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3151:8882)\n    at async GTB (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1789:3411)\n    at async rq8 (file:///User

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗