Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
Summary
Starting a new interactive Cursor CLI agent session on native Windows (Command Prompt, PowerShell, or Windows Terminal) causes the terminal UI to stop accepting keyboard input shortly after launch. The problem does not occur when using agent resume, the Cursor IDE, or running from WSL.
Environment
• CLI version: v2026.05.07-42ddaca (and current install at time of report)
• OS: Microsoft Windows 11 Enterprise 10.0.26200 2009 26100.1.amd64fre.ge_release.240331-1435
• Terminals tested: Windows Terminal, Command Prompt, PowerShell (native Windows — not WSL)
• Windows Terminal “interaction” settings (copyOnSelect, copyFormatting, snapToGridOnResize, focusFollowMouse) were already set to recommended defaults — ruled out as cause.
Actual behavior
• Input works initially.
• After a short time, the terminal updates (prior scrollback / text appears cleared or redrawn).
• After that, the CLI no longer responds to keyboard input.
• Escape does not restore input.
What works (same machine / account)
• agent resume — CLI remains usable.
• Cursor IDE — agent usage works.
• WSL — CLI/agent usage works.
Impact
Cannot rely on the Cursor CLI for new agent sessions on native Windows; must use resume, IDE, or WSL as workarounds.
Notes for investigation
• Suggests a regression or bug in the first-run / new-session interactive path vs resume, specifically on native Windows consoles (possibly PTY / ConPTY / full-screen TUI redraw / stdin handling).
• Please advise if there is a supported non-TUI or diagnostic mode for new sessions to help narrow the failure.
Steps to Reproduce
- Open Windows Terminal (or standalone cmd.exe / PowerShell).
- Run the Cursor CLI to start a new agent session (e.g. cursor agent / equivalent entrypoint — not resume).
- Interact briefly; wait a few seconds.
Expected Behavior
The CLI should remain interactive: keyboard input should continue to work after any redraw or streaming UI update.
Operating System
Windows 10/11
Version Information
CLI Version 2026.05.07-42ddaca
Model Composer 2
Subscription Tier Enterprise
OS win32 (x64)
Terminal windows-terminal
Shell cmd
For AI issues: which model did you use?
Model Composer 2
Does this stop you from using Cursor
No - Cursor works, but with this issue