Input field freezes when typing text after HTTP URL

Resolved 💬 3 comments Opened Feb 17, 2026 by Benniphx Closed Mar 21, 2026

Bug Description

When typing in the Claude Code CLI input field, if the input starts with an HTTP/HTTPS URL and additional text is typed after it, the input field freezes and becomes unresponsive. The session/window becomes stuck and requires force-quitting.

Steps to Reproduce

  1. Open Claude Code CLI
  2. Start typing a message that begins with an HTTP URL (e.g., https://github.com/some/repo and then add more text here)
  3. Continue typing additional text after the URL
  4. Observe the input field becoming unresponsive

Expected Behavior

The input field should accept text normally regardless of whether it contains URLs at any position.

Actual Behavior

The input field freezes/hangs when the input starts with an HTTP URL and the user continues typing after it.

Environment

  • Platform: macOS (Darwin 25.3.0)
  • Claude Code: Latest CLI version
  • Shell: zsh

Additional Context

This was observed during normal usage when pasting a URL and then adding context text after it. The issue seems specific to URLs at the beginning of the input.

View original on GitHub ↗

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