[FEATURE] Bash command output truncated — provide full log streaming via subprocess tail

Resolved 💬 3 comments Opened Mar 25, 2026 by r03t Closed Mar 28, 2026

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

When Claude Code runs bash commands (e.g. terraform apply), output is truncated for optimization. The ⎿ … +134 lines (ctrl+o to see all) indicator appears, but ctrl+o still doesn't reveal the full log reliably, and there's no live streaming during execution.

Proposed Solution

Expected behavior

Instead of capturing stdout/stderr in a buffer and truncating it, run the subprocess and tail/stream output in real time, so:

  • The user sees full logs as they happen (like a normal terminal)
  • ctrl+o (or equivalent) shows the complete untruncated output

Alternative Solutions

_No response_

Priority

Critical - Blocking my work

Feature Category

CLI commands and flags

Use Case Example

Suggested approach

Run bash commands via a subprocess with streaming stdout/stderr piped directly to the display layer, rather than buffering and truncating after the fact. This is especially important for long-running commands like terraform apply, docker build, test runners, etc.

Example

⏺ Bash(terraform apply -var-file=../common.tfvars -auto-approve |  tail -10)  ❌
  ⎿ … +10 lines (ctrl+o to see all)   ← user can't see if apply succeeded or failed
[ ⏺ Bash(terraform apply -var-file=../common.tfvars -auto-approve) ]  |  tail -10 ✅ 
  ⎿ … +10 lines (ctrl+o to see all)   ← user can't see if apply succeeded or failed

Additional Context

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗