[FEATURE] Complex bash commands in the approval prompt render as a wall of mangled text
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] 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_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗