[BUG] Claude Code freezes on ESC usage to clear text

Resolved 💬 9 comments Opened Oct 3, 2025 by mathiaswillburger Closed Oct 4, 2025

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?

Bug Description

In Claude Code version 2.0, pressing double Escape freezes the input field. Once this happens, no further typing is possible.

Current Behavior

  • Pressing double Escape locks the input field.
  • The only action available is pressing Enter, which submits the current content.
  • After submission, pressing Escape interrupts Claude Code, but the input remains unusable.
  • At this point, no further input is possible - not even pressing Enter.

What Should Happen?

Clear the input or trigger other appropriate action, but no freeze.

Error Messages/Logs

Steps to Reproduce

  1. Open Claude Code version 2.0.
  2. Type some text into the input field.
  3. Press Escape twice quickly.

Result: Input freezes and becomes unusable.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

1.*

Claude Code Version

2.0.5

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

Using Git Bash as terminal

View original on GitHub ↗

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