Skip to content

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

Closed as duplicate

Description

@hrosspet

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

Activity

  1. hrosspet commented on Mar 17, 2026

    @hrosspet
    Author

    screenshot of the problem: Image

  2. github-actions commented on Mar 17, 2026

    @github-actions

    Found 3 possible duplicate issues:

    1. [Bug] Terminal rendering issues: typing bar disappears and text overflows display #22572
    2. [BUG] Terminal rendering corruption in tmux - text overlaps and overwrites previous output #29937
    3. [Bug] TUI rendering breaks with usage warning text overflow #27609

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  3. added
    duplicateThis issue or pull request already exists
    and removed
    bugSomething isn't working
    platform:macosIssue specifically occurs on macOS
    on Mar 21, 2026
  4. github-actions commented on Mar 21, 2026

    @github-actions

    This issue has been automatically closed as a duplicate of #22572.

    If this is incorrect, please re-open this issue or create a new one.

    🤖 Generated with Claude Code

  5. github-actions commented on Mar 30, 2026

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  6. locked as resolved and limited conversation to collaborators on Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions