github / github/copilot-cli

Pasting output copied from copilot mangles the input area unrecoverably

Open
#4,060 0 comments 0 reactions 0 assignees View on GitHub
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

I was just trying to paste something back to copilot it had generated and that paste destroyed the input bar. I had to exit, tried again and it also happened again. Also happened in a completely different terminal session on another machine.
Image

### Affected version

GitHub Copilot CLI 1.0.69

### Steps to reproduce the behavior

1. Copy a line from a table produced in session
2. Paste that line
3. Observe broken input area

### Expected behavior

Input area should be able to handle input gracefully

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue identifies GitHub Copilot CLI 1.0.69 and a reproducible paste-from-table trigger. Start by reproducing the failure with a copied table line in the CLI, then trace the input-area handling for pasted content. Done means the input area remains usable after the paste and the reported reproduction no longer mangles it.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.