Claude Code integration not working when running from inside Tmux

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Summary: Claude Code integration works when Claude Code runs outside tmux, but fails when CC runs inside a Tmux session in Cursor.

Environment:

  • OS: macOS (Darwin 24.5.0)
  • Cursor Version: 1.6.26
  • Shell: Fish
  • Terminal: tmux

Steps to Reproduce:

  1. Launch Cursor normally (GUI application)
  2. Start a separate tmux session inside the Cursor terminal
  3. Run Claude Code inside the terminal (tmux)
  4. Claude code does not connect to Cursor

Expected Behavior:
Claude Code should connect to Cursor and function normally.

Actual Behavior:
Claude Code fails to connect.

Steps to Reproduce

  1. Launch Cursor normally (GUI application)
  2. Start a separate tmux session inside the Cursor terminal
  3. Run Claude Code inside the terminal (tmux)
  4. Claude code does not connect to Cursor

Expected Behavior

Claude Code should connect to Cursor and function normally.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.6.26
VSCode Version: 1.99.3
Commit: 6af2d906e8ca91654dd7c4224a73ef17900ad730
Date: 2025-09-16T17:12:31.697Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.