github / github/copilot-cli

Garbage text when highlighting text for copy

Open
#4,070 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

Whenever I try to highlight output text for copy, I get a ton of garbage text in my input line. When I do "ctrl + C" to copy, additional garbage text is added to my input line.

Image

### Affected version

1.0.69

### Steps to reproduce the behavior

1. Use cursor to highlight text (garbage text will appear)
2. Ctrl+C (more garbage text will appear)

### Expected behavior

There should be no garbage text when highlighting the output text for copying.

### Additional context

- Terminal: Mate 1.26.1
- OS: Rocky Linux 8.10 (Green Obsidian)
- Running on VM using Exceed to access the VM

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Copilot CLI 1.0.69 by highlighting output and pressing Ctrl+C, using the reported MATE terminal, Rocky Linux 8.10, and Exceed VM setup if available. Trace the terminal output-selection and copy handling, then verify that highlighting and copying no longer add text to the input line.

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
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.