Windows Command Line Path Separator Color Highlighting Issue with Backslash Escape Sequences

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

  1. Open Cursor IDE on Windows
  2. Execute a command containing Windows-style paths with backslashes
  3. Example command: path\to\nested\python.exe my_app\program.py
  4. 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

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