[BUG] /config menu: Escape should cancel, not commit, the last-viewed setting

Status Open
Reported on v2.1.215
Maintainer reply None cached
Activity 2 comments · opened Jul 20, 2026

Preflight Checklist

  • [x] I have searched existing issues 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?

Description

In the interactive /config menu, settings appear to apply live as soon as you arrow onto a different option, rather than only on explicit confirmation. Pressing Escape to
back out then leaves the last-viewed value applied instead of reverting to what was set when the menu was opened.

This makes it impossible to browse available options (themes, notification channels, etc.) without risking a change to your actual configuration. Related: #32947 (Escape not
working at all on the Status/Usage tabs), which may share a root cause.

What Should Happen?

Expected behavior

Escape should always cancel/revert any changes made during the current /config session and restore the values that were in effect when the menu was opened.
Browsing/highlighting an option should never itself be a commit — only an explicit selection (e.g. Enter) should apply a change.

Actual behavior

Navigating through options in /config appears to apply each highlighted value immediately. Pressing Escape once or twice exits the menu but keeps the last-viewed setting
applied rather than restoring the prior value.

Error Messages/Logs

None.

Steps to Reproduce

Steps to reproduce

  1. Note the current value of a setting (e.g. preferredNotifChannel) in ~/.claude/settings.json.
  2. Run /config, navigate to that setting, and arrow through a few different options without pressing Enter.
  3. Press Escape (once or twice) to exit.
  4. Check ~/.claude/settings.json — the value has changed to the last one viewed, rather than reverting.

Suggested fix

Either (a) don't apply a value until it's explicitly confirmed (e.g. Enter), so arrow navigation is a pure preview, or (b) snapshot settings on menu open and restore that
snapshot on Escape.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.215

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

Using Xterm on a devcontainer.

View original on GitHub ↗

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