Input prompt disappears after session ends — process alive but unresponsive

Resolved 💬 3 comments Opened Feb 1, 2026 by Nubaeon Closed Feb 5, 2026

Description

After a session completes (triggered by a custom integration's SessionEnd hook), the input prompt disappears entirely. The Claude Code process remains alive — the status line at the bottom continues to render and update — but there is no way to type or interact. The input area is simply gone.

Steps to Reproduce

  1. Run Claude Code inside a tmux pane
  2. Have a custom integration that fires a SessionEnd hook (e.g., an MCP tool call that closes the session)
  3. The session ends, final output renders, SessionEnd hooks execute
  4. The input prompt never reappears

Expected Behavior

After a session ends, the input prompt should reappear so the user can start a new conversation or exit normally.

Actual Behavior

  • The status line continues rendering at the bottom of the terminal
  • The bottom bar shows file stats and permission mode as normal
  • No cursor, no input area, no way to type
  • Escape, Enter, Ctrl+C all have no effect
  • Only Ctrl+D exits the process

Environment

  • Claude Code CLI (latest)
  • Running inside tmux
  • Custom plugin with SessionEnd hooks (command-type hooks that run on session close)
  • MCP server connected with multiple tools

Screenshot Context

The terminal shows the final output, two horizontal divider lines, then the status bar — but no input prompt between the dividers and the status bar where it should be.

Notes

This may be related to the terminal state after SessionEnd hooks execute, or possibly the collapsed output view (ctrl+o to expand) not properly transitioning back to the input state. The process is clearly still running (status line updates) but the input handling appears broken.

View original on GitHub ↗

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