claude-code - 💡(How to fix) Fix Add setting to disable/configure left indent padding in terminal output [2 comments, 2 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#48768Fetched 2026-04-16 06:51:30
View on GitHub
Comments
2
Participants
2
Timeline
5
Reactions
0
Timeline (top)
commented ×2labeled ×2closed ×1

Code Example

{
  "theme": {
    "indent": 0
  }
}
RAW_BUFFERClick to expand / collapse

Problem

All terminal output in Claude Code has a 2-space left indent/padding on every line. When selecting and copy-pasting multiple lines of output (e.g., messages to send to colleagues via Slack or email), every line includes 2 extra leading spaces that must be manually removed each time.

This is a constant friction point in daily workflows that involve copying Claude's output to share with others.

Proposed Solution

Add a configurable setting (e.g., theme.indent, terminalMargin, or similar) that allows users to control or disable the left padding. For example:

{
  "theme": {
    "indent": 0
  }
}

A value of 0 would remove the padding entirely, restoring clean copy-paste behavior.

Alternatives Considered

  • Post-processing pasted text with sed — works but adds friction to every paste
  • Selecting text more carefully — not practical with multi-line selections

🤖 Generated with Claude Code

extent analysis

TL;DR

Implementing a configurable setting to control the left padding in Claude Code's terminal output is likely the most effective fix.

Guidance

  • Introduce a new configuration option, such as theme.indent or terminalMargin, to allow users to adjust or disable the left padding.
  • Consider adding a default value for the new setting to ensure a smooth transition for existing users.
  • Evaluate the proposed solution's impact on other features, such as code formatting or syntax highlighting, to ensure no unintended side effects.
  • Test the new setting with various values, including 0, to verify its effectiveness in removing the extra leading spaces.

Example

{
  "theme": {
    "indent": 0
  }
}

This example configuration sets the indent to 0, which should remove the left padding entirely.

Notes

The proposed solution assumes that the left padding is a deliberate design choice and not a side effect of another feature. Additional testing may be necessary to ensure the new setting does not introduce other issues.

Recommendation

Apply the proposed workaround by introducing a configurable setting to control the left padding, as it directly addresses the reported issue and provides users with flexibility.

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 Add setting to disable/configure left indent padding in terminal output [2 comments, 2 participants]