[BUG] CLI display misaligned and premature input validation in PhpStorm 2025.3.2
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?
The CLI interface in PhpStorm 2025.3.2 terminal has two critical display and interaction issues:
- Visual misalignment: Text output appears shifted or incorrectly positioned, breaking the visual layout
- Premature input validation: The interactive question interface (AskUserQuestion) validates/submits responses before the user finishes typing
Concrete example of premature validation:
When asked to provide the PhpStorm version via the interactive question interface:
- User selected an option from the list
- Started typing the actual version "2025.3.2" in the "Other" field
- Interface validated and submitted before typing was complete
- This captured incorrect data (showing "2024.1" instead of "2025.3.2")
This issue appeared suddenly today (2026-01-27) after working correctly in previous sessions.
What Should Happen?
- The CLI interface should display correctly with proper line alignment and formatting
- Interactive prompts should wait for explicit user confirmation (Enter key) before validating responses
- Users should be able to complete their text input without premature submission
Error Messages/Logs
No specific error messages - these are visual rendering and input handling issues affecting the terminal interface behavior.
Steps to Reproduce
For visual misalignment:
- Open PhpStorm 2025.3.2
- Open the built-in terminal (Tools → Terminal)
- Launch Claude Code CLI
- Observe the misaligned lines in the interface output
For premature validation:
- Launch Claude Code in PhpStorm terminal
- Trigger any interactive question prompt (AskUserQuestion)
- Start typing a response in a text field
- Notice the response gets validated/submitted before completing input
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Unknown - issue appeared on 2026-01-27
Claude Code Version
Latest
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
PyCharm terminal
Additional Information
Environment:
- PhpStorm version: 2025.3.2
- OS: Linux 6.14.0-123037-tuxedo
- TERM: xterm-256color
- Date issue appeared: 2026-01-27
Screenshots: Will be attached showing both the visual misalignment and the interactive question interface issues.
The problems seem specific to PhpStorm's terminal emulator, as the terminal configuration (TERM type, etc.) hasn't changed recently.
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗