Skip to content

Terminal tool doesn't detect "press any key" #286050

@roblourens

Description

@roblourens
sleep 1
echo "Press any key to continue..."
read -n 1 -s key
echo "You pressed: $key"
echo "Continuing..."

It doesn't detect that the script is waiting on the "press any key" prompt, because the 4o-mini prompt has "any key" examples that should not be detected and I guess it picks up on those.

Image

db330cf9.copilotmd

I still don't understand why we need an LLM to detect Terminal will be reused by tasks, press any key to close it. since that message comes from vscode, and also don't we know that the task is finished at that point?

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugchat-terminalThe run in terminal tool in chatchat-terminal-output-monitorOutput monitoring in the terminal tool which detects when commands finish or user input is required

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions