[Bug] /config dialog: Enter key conflict prevents saving after nested menu selection

Resolved 💬 5 comments Opened Mar 17, 2026 by devstefancho Closed Apr 17, 2026

Bug Description

Title: [BUG] /config dialog: Enter key conflict — "Enter to save" also drills into submenu, making it impossible to save and exit

Body:

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report
  • [x] I am using the latest version of Claude Code

What's Wrong?

In the /config dialog, the Enter key serves two conflicting purposes:

  1. Config list view: footer says "Space to change · Enter to save · / to search · Esc to cancel"
  2. Nested option (e.g. Output style): Enter drills into the submenu instead of saving

This creates a dead-end UX:

  • You change Output style via the submenu (Enter to confirm selection → returns to config list)
  • Back in the config list, you want to save and exit
  • Press Enter → it drills back into the Output style submenu instead of saving
  • Press Esc → it cancels all changes
  • There is no way to save and exit

Steps to Reproduce

  1. Run /config
  2. Navigate to "Output style" and press Enter (or Space) to open the submenu
  3. Select a non-default style (e.g. "Explanatory") and press Enter to confirm
  4. You're back in the config list — Output style now shows "Explanatory"
  5. Press Enter to save → it re-enters the Output style submenu instead of saving
  6. Press Esc → changes are discarded, Output style reverts to "default"

What Should Happen?

Enter on the config list view should save all changes and close the dialog, as the footer indicates. Drilling into a submenu should only be triggered by Space (consistent with "Space to change").

Alternatively, changes made in the submenu should be persisted immediately upon confirmation, so that Esc from the config list doesn't discard them.

Claude Code Version

2.1.76

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.77
  • Feedback ID: 3157f752-b63b-4750-83dc-f544b79b1961

Errors

[]

View original on GitHub ↗

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