Feature Request: Interactive Terminal Support for Cursor Agent (Interactive CLI handling)

Feature request for product/service

Cursor IDE

Describe the request

Hi Cursor-Team,

I’ve noticed that the Cursor Agent currently struggles when it encounters interactive terminal prompts during a workflow (e.g., package managers asking for configuration overrides like Y/I/N/O/D/Z or sudo password prompts).

Or for example, for sudo operations, let the user enter the password interactively.

Right now, the agent just waits indefinitely or stops because it can’t “press keys” or interact with the TTY. GitHub Copilot is already capable of handling these interactive sessions.

Proposed Feature:
Allow the Cursor Agent to detect terminal prompts and provide it with the ability to:

Send keystrokes/commands to the active terminal session.

Read the prompt state to decide on the best action (or ask the user for the specific key to press).

Or askt the user interactively to enter something or take over.

This would significantly improve the UX for DevOps tasks, server migrations, and complex environment setups where interactive CLI tools are unavoidable.

Best regards,
Eric

Screenshot / Screen Recording

Cursor:

Github Copilot: