Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
When executing commands on Windows that contain backslash path separators, the syntax highlighting incorrectly interprets backslash-character combinations as escape sequences, applying special highlighting colors to what should be treated as literal path separators.
Steps to Reproduce
- Open Cursor IDE on Windows
- Execute a command containing Windows-style paths with backslashes
- Example command: path\to\nested\python.exe my_app\program.py
- Observe the syntax highlighting in the command output
Notice:
Backslashes followed by certain characters (like \t, \n, \p) are highlighted with special escape sequence colors
Expected Behavior
Backslashes should be treated as literal path separators
No special escape sequence highlighting should be applied
Path components should maintain consistent coloring
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.6.23 (user setup)
VSCode Version: 1.99.3
Commit: 9b5f3f4f2368631e3455d37672ca61b6dce85430
Date: 2025-09-15T21:49:07.231Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.22631
Does this stop you from using Cursor
No - Cursor works, but with this issue