CLAUDE_CODE_NO_FLICKER=1 suppresses custom statusLine command on Windows CLI

Resolved 💬 1 comment Opened Apr 6, 2026 by AlvaroRojas Closed Apr 7, 2026

Bug description

Setting CLAUDE_CODE_NO_FLICKER=1 in settings.json env causes the custom statusLine command to stop rendering entirely on Windows CLI (Git Bash). The statusline disappears completely — no output is shown.

Steps to reproduce

  1. Configure a custom statusLine command in ~/.claude/settings.json:

``json
"statusLine": {
"type": "command",
"command": "bash \"C:/Users/user/.claude/statusline-command.sh\""
}
``

  1. Enable no-flicker mode:

``json
"env": {
"CLAUDE_CODE_NO_FLICKER": "1"
}
``

  1. Restart Claude Code CLI
  2. The statusline is not displayed

Expected behavior

The custom statusLine command output should be rendered in the status bar regardless of CLAUDE_CODE_NO_FLICKER setting.

Actual behavior

The statusline disappears entirely. No output from the command is shown.

Workaround

Disabling CLAUDE_CODE_NO_FLICKER (setting to "0" or removing it) restores the statusline.

Environment

  • Claude Code version: 2.1.92 (worked on 2.1.89 without NO_FLICKER)
  • OS: Windows 11 Pro 10.0.26200
  • Terminal: Git Bash (MINGW64)
  • Shell: bash

Related issues

  • #42710 — same symptom on IntelliJ terminal (macOS)
  • #42275 — NO_FLICKER hides token count from footer (macOS)

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗