github / github/copilot-cli

Allow users to customize prompt symbols and status line

Đang mở
#2,329 1 bình luận 2 reaction 0 người được giao Xem trên GitHub
area:configuration area:terminal-rendering
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

## Feature Request

Allow users to customize the symbols and indicators shown in the Copilot CLI prompt, similar to how tools like Starship allow full prompt configuration.

## Context

The Copilot CLI prompt includes a git branch glyph (U+2387 ⎇) and dirty indicator. While these render, they may not look great depending on the user's font/terminal setup. There's currently no way to change them.

## Desired behavior

Allow users to configure prompt symbols via `~/.copilot/config.json` or a dedicated config, for example:

```json
{
"prompt": {
"branchIcon": "⎇",
"dirtyIndicator": "△",
"untrackedIndicator": "?",
"aheadIndicator": "⇡",
"behindIndicator": "⇣"
}
}
```

Or alternatively, allow users to disable the built-in prompt status line entirely and rely on their own shell prompt.

## Why

- Different fonts render glyphs differently — what looks good in one setup may look off in another
- Power users already have customized prompts (Starship, oh-my-posh, custom functions) and may prefer consistency
- Similar to Claude Code's `/statusline` configuration

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.