[BUG] CLI display broken in PhpStorm 2025.3.2 - misaligned lines
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 2024.3 terminal displays with misaligned lines, making it difficult to read and interact with Claude Code. The text output appears shifted or incorrectly positioned, breaking the visual layout of the interface.
This issue appeared suddenly today (2026-01-27) after working correctly before.
What Should Happen?
The CLI interface should display correctly with proper line alignment and formatting in the PhpStorm terminal, similar to how it displays in other terminal emulators.
Error Messages/Logs
No specific error messages - this is a visual rendering issue affecting the terminal output formatting.
Steps to Reproduce
- Open PhpStorm 2024.3
- Open the built-in terminal (Tools → Terminal)
- Launch Claude Code CLI
- Observe the misaligned lines in the interface output
The terminal is using xterm-256color as TERM value.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Unknown - issue appeared today (2026-01-27)
Claude Code Version
Latest
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
PyCharm terminal
Additional Information
Environment Details:
- PhpStorm version: 2024.3
- OS: Linux 6.14.0-123037-tuxedo
- TERM: xterm-256color
- Issue appeared: 2026-01-27 (today)
Screenshot: Will be attached in follow-up comment
The issue seems specific to PhpStorm's terminal emulator, as the terminal type and configuration haven't changed recently.
7 Comments
Additional affected component:
The interactive question/answer interface (AskUserQuestion tool) also displays incorrectly with the same misalignment issue. This suggests the rendering problem affects multiple UI components in the CLI, not just the main output.
Correction: The issue occurs in PhpStorm 2024.1 (not 2024.3 as initially stated).
Version correction: PhpStorm version is 2025.3.2 (previous comments had incorrect version numbers).
Concrete example of the bug:
The interactive question interface validates/submits responses prematurely before the user finishes typing.
For instance, when asked about PhpStorm version:
This demonstrates the issue is not just visual misalignment, but also affects input handling and interaction timing in the PhpStorm terminal.
Closing to recreate a clean issue report without multiple corrections
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.