[BUG] CLI display broken in PhpStorm 2025.3.2 - misaligned lines

Status Fixed / completed
Maintainer reply None cached
Activity 7 comments · opened Jan 27, 2026 · closed Jan 27, 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?

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

  1. Open PhpStorm 2024.3
  2. Open the built-in terminal (Tools → Terminal)
  3. Launch Claude Code CLI
  4. 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.

View original on GitHub ↗

7 Comments

atournayre · 7 months ago

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.

atournayre · 7 months ago

Correction: The issue occurs in PhpStorm 2024.1 (not 2024.3 as initially stated).

atournayre · 7 months ago

Version correction: PhpStorm version is 2025.3.2 (previous comments had incorrect version numbers).

atournayre · 7 months ago

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:

  • User selected an option from the list
  • Started typing the actual version "2025.3.2"
  • Interface validated/submitted before typing was complete
  • This caused incorrect version info (2024.1) to be captured initially

This demonstrates the issue is not just visual misalignment, but also affects input handling and interaction timing in the PhpStorm terminal.

atournayre · 7 months ago

Closing to recreate a clean issue report without multiple corrections

github-actions[bot] · 7 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/21253
  2. https://github.com/anthropics/claude-code/issues/19610
  3. https://github.com/anthropics/claude-code/issues/1268

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] · 6 months ago

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.