/doctor TUI dismisses immediately on Enter or 'f' keypress

Resolved 💬 3 comments Opened May 7, 2026 by juteasl Closed May 11, 2026

Summary

Running /doctor shows the diagnostic screen briefly, but the UI is immediately dismissed when pressing Enter or f (to fix). No fix is applied and no error is shown — the screen just disappears back to the prompt.

Environment

  • Claude Code version: 2.1.132
  • OS: macOS 26.4.1 (build 25E253)
  • Shell: bash

Steps to reproduce

  1. Run /doctor in an interactive Claude Code session
  2. Diagnostic screen renders with one or more issues listed
  3. Press Enter or f to apply the fix
  4. UI immediately closes — no fix applied, no error message

Expected

  • Pressing f should apply the suggested fix
  • Pressing Enter should either apply or advance, not exit the screen

Actual

  • Both keys dismiss the doctor UI without taking action

Notes

The screen does render before disappearing, so the rendering path works. Issue appears to be in keyboard input handling within the doctor TUI. Recent v2.1.119+ doctor fixes addressed MCP override warnings and disabled plugin errors but didn't touch input handling.

View original on GitHub ↗

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