Custom statusLine is hidden when in plan or bypassPermissions mode
What
When I Shift+Tab into plan or bypassPermissions mode, the mode banner (blue "plan mode on" / red "bypass permissions on") replaces my custom statusLine output. The statusline stays hidden for the entire time I'm in that mode — not just during the brief permission prompt flash mentioned in the docs.
Why it matters
My statusline shows model, context usage, branch, task ID, and cost — info I want visible all the time, not just in default mode. I regularly cycle bypass → plan → bypass for planning then execution, and I lose the statusline each hop.
Proposal
Render the mode badge alongside the custom statusline rather than replacing it. A compact prefix like [PLAN] <statusline output> or a second line would preserve both signals.
Alternatively, expose permission_mode in the statusLine stdin JSON so user scripts can self-render the badge and keep full control of the line.
Environment
- Claude Code CLI, macOS
- Config:
defaultMode: bypassPermissions, customstatusLinecommand
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗