github / github/copilot-cli

Selected text doesn't contrast well with the background

Open
#2,612 0 comments 0 reactions 0 assignees View on GitHub
area:platform-windows area:terminal-rendering area:theming-accessibility
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

I'm running from Windows Terminal. Even setting the theme to high contrast, the difference between the background, the selected text background, and the text is not great:

Image

Using the default theme, it's even worse:

Image

### Affected version

Copilot CLI v1.0.22

### Steps to reproduce the behavior

1. copilot
2. select some text in the session

### Expected behavior

I'd like to have the same behavior as Windows Terminal:

Image

### Additional context

This is Windows, running Terminal, in PowerShell 7.4.14. Color Scheme is Campbell

Image

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the `copilot` command in Windows Terminal under PowerShell 7.4.14, then trace the session text-selection rendering. The work is done when selected text has contrast comparable to Windows Terminal in both the default and high-contrast themes, with coverage for the reported case if the project provides a relevant test entry point.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, shell
Domain
accessibility, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.