Opening a file with spaces creates two editor tabs

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Running cursor “test file.md” opens two tabs instead of one:
• one tab named test
• one tab named file.md

Steps to Reproduce

  1. In a directory containing a file named:

    test file.md

  2. Run:

    cursor “test file.md”

Expected Behavior

• One editor tab opens
• The tab corresponds to the single file test file.md

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.32 (Universal)
VSCode Version: 1.105.1
Commit: ef979b1b43d85eee2a274c25fd62d5502006e420
Date: 2025-11-25T05:00:12.749Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.1.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Thanks for the report, I’ve raised it with the team.

1 Like