claude-code - 💡(How to fix) Fix [Feature Request] Remove conversation indentation from chat output for easier copying [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#45233Fetched 2026-04-09 08:10:10
View on GitHub
Comments
2
Participants
3
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×3commented ×2

Error Message

[{"error":"Error: File does not exist. Note: your current working directory is /Users/marcus.hojvall/Development/payment-service/banksy.\n at call (/$bunfs/root/src/entrypoints/cli.js:4318:7616)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T12:32:05.258Z"},{"error":"Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CZrRETkE32Wyi5VWecK1n"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:51975)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4942)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T13:55:41.160Z"}]

Root Cause

Bug Description Sometimes I ask claude to write a jira ticket for me, but I can't copy the text straight from the chat because there is a indentation of 2 spaces on the conversation. So I have to ask it to create a file instead which I can copy, pretty annoying.

Code Example

[{"error":"Error: File does not exist. Note: your current working directory is /Users/marcus.hojvall/Development/payment-service/banksy.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4318:7616)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T12:32:05.258Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CZrRETkE32Wyi5VWecK1n\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:51975)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4942)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T13:55:41.160Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Sometimes I ask claude to write a jira ticket for me, but I can't copy the text straight from the chat because there is a indentation of 2 spaces on the conversation. So I have to ask it to create a file instead which I can copy, pretty annoying.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.96
  • Feedback ID: c9acd13f-b1a3-4e47-acfb-f8eb76377f99

Errors

[{"error":"Error: File does not exist. Note: your current working directory is /Users/marcus.hojvall/Development/payment-service/banksy.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4318:7616)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T12:32:05.258Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CZrRETkE32Wyi5VWecK1n\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:51975)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4942)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T13:55:41.160Z"}]

extent analysis

TL;DR

The issue can be mitigated by exploring options to remove or adjust the indentation in the chat conversation text.

Guidance

  • Investigate the source of the 2-space indentation in the conversation text to determine if it's a formatting issue or a bug in the text generation process.
  • Consider using a text processing tool or script to remove the indentation before copying the text.
  • Look into the claude tool's documentation or configuration options to see if there's a way to disable or adjust the indentation.
  • If the issue persists, try using a different method to generate the Jira ticket, such as using a template or a different tool.

Notes

The provided error messages do not seem directly related to the issue of indentation in the conversation text, so it's unclear if they are relevant to the problem at hand.

Recommendation

Apply workaround: The best course of action seems to be finding a way to remove or adjust the indentation, as there is no clear indication of a fixable bug or a version upgrade that would resolve the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Feature Request] Remove conversation indentation from chat output for easier copying [2 comments, 3 participants]