claude-code - 💡(How to fix) Fix [FEATURE] Complex bash commands in the approval prompt render as a wall of mangled text

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

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

Each Bash command requires manual approval. Complex commands (long, multi-line, piped, escaped) render as a single unformatted line in the approval prompt, making them unreadable. Reviewing the command before approving is effectively impossible - it reads like unformatted code.

Proposed Solution

Display Bash commands in the approval prompt formatted, so they can be read like code. I understand that's not what everyone would want, so let's make it configurable.


btw, if a formatter gets added, might be a good opportunity to make it pluggable and exposed as a config option so that users can develop their own formatters.

Alternative Solutions

Couldn't find one. There are formatters for raw Claude JSON output, but they don't work with the interactive TUI.

Priority

High - Significant impact on productivity

Feature Category

Interactive mode (TUI)

Use Case Example

Basically any complex bash command

Additional Context

No response

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] Complex bash commands in the approval prompt render as a wall of mangled text