Skip to content

Copilot instructing me to navigate terminal ui of another powershell executable #3002

@mcodilla

Description

@mcodilla

Describe the bug

The agent told me to "use the arrow keys to navigate and press Enter to select a file". This is something that is impossible since I have no access to the spawned shell session. The agent should detect that it is asking me to interact with a terminal UI they cannot reach and avoid giving that guidance.

Affected version

GitHub Copilot CLI 1.0.36

Steps to reproduce the behavior

Requirements:

Install custom tools that copilot can actually use such as ripgrep, and tools that copilot cannot use (like fzf or ohmyposh)

Repro Steps:

  1. Open Copilot CLI in a repo.
  2. Ask to find YAML files mentioning X
  3. The agent runs: rg -l -i "X" --glob "*.yml" | fzf in async mode.
  4. The agent then tells me to "use arrow keys to navigate", but I have no access to the shell session and cannot do this.

Expected behavior

The agent should detect when a spawned process is an interactive TUI and not prompt me to use arrow keys, navigate, or otherwise interact with a shell I cannot interact with

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agentsarea:toolsBuilt-in tools: file editing, shell, search, LSP, git, and tool call behavior

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions