claude-code - 💡(How to fix) Fix [Feature Request] Add configurable tool output fold threshold in interactive TUI

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…

Fix Action

Fix / Workaround

Bonus: ANSI escape codes already render correctly inside expanded tool output, so this would also unblock truecolor banners/themes without forcing /dev/tty workarounds.

Code Example

[]
RAW_BUFFERClick to expand / collapse

Bug Description Feature request: setting to control tool-output fold threshold in interactive TUI.

Current behavior (v2.1.147): Bash/tool output is folded after ~3 lines, requiring ctrl+o to expand. There's no setting, env var, or slash command to default-expand.

Use case: startup banners, status dashboards, ASCII art, formatted reports, anything where the user wants to see the full output inline without an extra keypress every time. The 3-line limit forces these to either be trivially short or be hidden behind a fold.

Proposal: settings.json key like toolOutputExpandLevel (number of lines before folding) or expandToolOutput: true (always expand). User-configurable, defaults to current behavior so it's non-breaking.

Bonus: ANSI escape codes already render correctly inside expanded tool output, so this would also unblock truecolor banners/themes without forcing /dev/tty workarounds.

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.146
  • Feedback ID: 92a2f656-da90-4f91-af01-7ad9b4063af6

Errors

[]

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] Add configurable tool output fold threshold in interactive TUI