claude-code - 💡(How to fix) Fix [Bug] Multiline command output breaks in fish shell with unexpected line breaks

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…
RAW_BUFFERClick to expand / collapse

Bug Description Cant multiline commands from claude cli in to my fish shell, it adds strange line breaks that breaks the command, i have to manually edit every line before i run them. Very annoying. I'm using foot terminal.

When i paste to an editor and copy it from there it seems to work. I tried /tui fullscreen but then it fails to copy.

Environment Info

  • Platform: linux
  • Terminal: foot
  • Version: 2.1.129
  • Feedback ID: dad22c83-d060-4c1c-978d-bbbfad248b7c

Output from claude <img width="1916" height="301" alt="Image" src="https://github.com/user-attachments/assets/d1e2cc5a-da8a-48ad-b827-e8ed2147ec2d" />

Trying to paste to foot+fish <img width="844" height="275" alt="Image" src="https://github.com/user-attachments/assets/0c073678-4428-4a45-9219-ad90181b5002" />

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 [Bug] Multiline command output breaks in fish shell with unexpected line breaks