[Bug] Script Generation: Indentation Breaks HEREDOC Syntax Parsing

Status Closed — not planned
Maintainer reply None cached
Activity 3 comments · opened Sep 8, 2025 · closed Jan 8, 2026

Bug Description
When Claude Code creates scripts, all output is shown with two leading spaces, so scripts with HEREDOC syntax can not be copied easily, since the closing EOF marker is ignored.

Environment Info

  • Platform: linux
  • Terminal: pycharm
  • Version: 1.0.108
  • Feedback ID: 70020c45-bc72-440e-8f4f-2dbf0d683fcc

<img width="765" height="187" alt="Image" src="https://github.com/user-attachments/assets/334fbef5-1920-4ba5-b72b-95f3a246268c" />

View original on GitHub ↗

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