/resume command: single quotes break on Windows, clipboard copy has newline
Resolved 💬 2 comments Opened Mar 13, 2026 by ShadowXebec12 Closed Apr 11, 2026
Bug Description
The /resume command has two issues on Windows that make the generated command fail when pasted:
Issue 1: Single quotes instead of double quotes
The CLI outputs:
cd 'C:\Users\...\path with spaces' && claude --resume <session-id>
On Windows (cmd/PowerShell), single quotes do not handle spaces in paths. It should use double quotes:
cd "C:\Users\...\path with spaces" && claude --resume <session-id>
Issue 2: Clipboard copy contains a newline
The command is auto-copied to clipboard, but it contains a newline character that splits the command into two lines on paste. This causes only the cd part to run — the claude --resume part is on a new line and either fails or runs as a separate command.
Expected behavior
- Use double quotes for paths on Windows
- Clipboard copy should be a true one-liner with no embedded newline
Platform
- Windows 11
- Shell: cmd / PowerShell
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗