anthropics / anthropics/claude-code

[BUG] TUI status line doesn't update permission mode after /config change (fullscreen, macOS)

Open
#94,845 0 comments 0 reactions 0 assignees View on GitHub
api:bedrock area:statusline area:tui bug has repro platform:macos
Dominant language
Python
Stars
145k
Forks
23.1k
PR merge metrics
PR metrics pending

Description

### Preflight Checklist

- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code

### What's Wrong?

The TUI status line continues displaying "manual mode on" after switching to auto mode via `/config`. The setting changes successfully in settings.json (confirmed by the command output), but the display never updates—even after multiple turns or starting a new session.

### What Should Happen?

Status line should update to "auto mode on" either:
- Immediately after /config command succeeds, OR
- After starting a new session with defaultMode: auto in settings.json

### Error Messages/Logs

```shell

```

### Steps to Reproduce

Steps to reproduce:
1. Verify `~/.claude/settings.json` has `"defaultMode": "auto"` at line 19
2. Start Claude Code CLI (fullscreen TUI mode)
3. Observe status line shows "manual mode on"
4. Run `/config` → change permission mode to auto
5. Command outputs: "Set permissionMode to auto"
6. Submit 4+ prompts (allow time for UI refresh)
7. Exit and start new session

Expected: Status line shows "auto mode on"
Actual: Status line still shows "manual mode on"

### Claude Model

None

### Is this a regression?

Yes, this worked in a previous version

### Last Working Version

_No response_

### Claude Code Version

2.1.273

### Platform

AWS Bedrock

### Operating System

macOS

### Terminal/Shell

Terminal.app (macOS)

### Additional Information

Environment

- OS: macOS Darwin 25.6.0
- Claude Code version: 2.1.273
- Installation method: Direct download
- Terminal: MacOS Terminal
- TUI mode: fullscreen
- Shell: bash

Additional context

- The permission mode setting itself changes correctly (verified via config command)
- Only the TUI display indicator fails to update
- Workaround: Check settings.json directly to verify actual mode
- The "manual mode on" text is appended by Claude Code's TUI

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the /config command and the fullscreen TUI status-line display, comparing the permission mode saved in ~/.claude/settings.json with the mode shown after a new session. Reproduce on macOS Terminal.app with version 2.1.273; done means the indicator changes from manual mode on to auto mode on after the setting changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.