Skip to content

[BUG] /terminal-setup does not work from inside tmux #6072

@dlee

Description

@dlee

Environment

  • Platform (select one):
    • Anthropic API
    • AWS Bedrock
    • Google Vertex AI
    • Other: claude code
  • Claude CLI version: 1.0.83 (Claude Code)
  • Operating System: macOS 15.6
  • Terminal: iTerm2, tmux

Bug Description

The /terminal-setup slash command is unavailable if run from within tmux.

Steps to Reproduce

  1. Launch tmux in iTerm2
  2. From within a tmux pane, launch claude
  3. Run /terminal-setup from within claude

Expected Behavior

/terminal-setup should run like normal and shift-enter should input a newline.

Actual Behavior

/terminal-setup is not detected as a slash command and shift-enter does not input a newline.

Additional Context

tmux is being run from within iTerm2. The workaround is to launch claude from outside of tmux first and running /terminal-setup there. Subsequent uses of claude from within tmux should then be able to use shift-enter as newline input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:tuibugSomething isn't workingduplicateThis issue or pull request already existshas reproHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOS

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions