[BUG] AskUserQuestion freezes the session on text box overflow

Resolved 💬 4 comments Opened Oct 23, 2025 by ANogin Closed Jan 13, 2026

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?

In AskUserQuestion, if I type enough text into a free-form response field (typically ~4-5 lines of text, but sometimes more), the session completely freezes.

What Should Happen?

It should not freeze.

Error Messages/Logs

Steps to Reproduce

  1. Prompt: For a test, use AskUserQuestion tool to ask me a generic question with a free response option
  2. Type (or paste) enough into the free response field - sometimes need to go until the terminal is filled to the bottom)

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.25

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

In native ssh session from a Mac Terminal into Linux - same issue.

View original on GitHub ↗

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