[BUG] Long Bash commands render over separator lines in Claude Code UI

Status Closed — duplicate
Maintainer reply None cached
Activity 4 comments · opened Mar 17, 2026 · closed Mar 21, 2026

Bug Description

When Claude Code executes a long single-line Bash command (e.g. gh api ... -f body='...' with inline multi-line content), the command text renders incorrectly — it displays over the separator horizontal lines in the UI, making both the command and the UI structure unreadable.

Steps to Reproduce

  1. Ask Claude Code to update a GitHub PR body using gh api with a long -f body='...' parameter containing multi-line markdown content
  2. The resulting Bash command is a single very long line
  3. The command text overlaps the horizontal separator lines in the Claude Code UI

Expected Behavior

The command text should be properly contained within the Bash command UI block, without overlapping other UI elements.

Actual Behavior

The command text bleeds over the horizontal separator lines, making the UI look broken and the command unreadable.

Environment

  • Platform: macOS
  • Terminal: Claude Code CLI

View original on GitHub ↗

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