github / github/copilot-cli

Pending chat lines duplicate and won't go away, eventually filling up the screen

Open
#4,532 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug

I started noticing this bug come up where when I submit a response while agent is working it gets the normal pending thing, but after it submits, the pending line hangs out at the bottom of the screen. Submitting more things adds extra lines and sometimes causes weird duplicates. Eventually the whole screen can be filled with them.

Image

I'm not sure if it's just the version I'm on or if an extension I just built that sometimes submits lines (extension allows separate agent session to send messages to each other). Either way, my extension shouldn't have the power to be janking up the UI this bad I wouldn't think?

Affected version

1.0.81-3

Steps to reproduce the behavior
  1. Get the agent working and start submitting some pending requests
Expected behavior

I expect that the pending messages

  1. Go away once submitted
  2. Even if I have tons, it should make them collapsible or something (kind of like the queue mode) so they don't take up the entire screen if I have a lot or an extension gets weird and posts for me multiple times.
Additional context

Restarting the session will clear it, but that's only thing I found that works :(

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

No file or test is named. First reproduce on version 1.0.81-3 by submitting several requests while the agent is working, then trace the pending-message lifecycle in the terminal UI. Done means submitted pending lines disappear and repeated or extension-generated requests no longer permanently fill the screen.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.