github / github/copilot-cli

Pending prompts stay on the screen after being fired

Open
#4,564 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area:input-keyboard area:terminal-rendering
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

Describe the bug

If I enter a prompt while the agent is running, it pops up as queued, with (pending · ctrl+c to cancel) next to it.

Then when the prompt clears and the steering command is injected, the pending should go away, the prompt becomes colored differently (e.g. purple for autopilot or blue in plan mode, etc). Then the agent responds to the new prompt.

However, in recent updates, this does still happen but the pending prompt remains on the screen. Even after the model has responded to the prompt. If I then put in another pending prompt, it stays on the screen too along with the other one. The only way to clear this seems to be to wait for the whole turn to finish without steering.

Image Image
Affected version

GitHub Copilot CLI 1.0.81-7

Steps to reproduce the behavior
  1. Start any long-running prompt with multiple steps
  2. While the model is thinking/working, enter a new pending "steering" prompt
  3. Wait for the steering prompt to be accepted and the model to respond to the steering
    That is enough to reproduce; continuing to steer in this way, before the turn ends, will result in a large queue of pending messages at the bottom of the screen even if they've all been processed.
Expected behavior

The pending steering prompts should disappear from the bottom of the screen after being processed by the model

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the pending steering flow in the CLI: begin a long-running prompt, enter a steering prompt, and wait for the model to respond. Trace where processed pending prompts are rendered and cleared. Done means each processed prompt disappears from the bottom of the screen while later pending prompts remain visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.