Theme turns light over night
Chưa có ai nhận issue này.
- 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ả
Describe the bug
Upon starting copilot at e.g. 8 am. the color theme/tint is dark. Letting the computer go to sleep and reopening the computer the next day at the same time, the color theme/tint is now light. As if it changes between dark and light mode depending on the color scheme of the macOS.
I have attempted to force the terminal application to stay in macOS dark mode, to no avail. Only discovered fix is to exit copilot and reopen it. This resets the color theme/tint back to dark.
Changing the theme to "default" results in the background turning dark again, but code fences stay light gray as does the input field and the tabs at the top. Not all text is visible on the dark background.
Unsure if this actually is a copilot CLI problem or it has to do with the terminal emulator.
Affected version
1.0.79
Steps to reproduce the behavior
- Start copilot CLI
- Sleep computer
- Wait 24 hours (to pass through a day/night cycle)
- Open computer
- Observe the copilot CLI is now all light colors
Expected behavior
That the copilot CLI stays the same colors even after sleeping the computer for a longer duration.
Additional context
- Operating system: macOS 26.6.1 (25G76)
- CPU architecture: ARM, Apple M4 Pro
- Terminal emulator: iTerm2, Build 3.6.11
- Shell: zsh
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với Copilot CLI trên macOS bằng iTerm2 và zsh, làm theo các bước tái hiện đã được báo cáo về việc đưa vào chế độ ngủ và mở lại. So sánh theme trước khi ngủ và sau chu kỳ ngày/đêm, sau đó truy vết cách CLI xử lý theme để xác định liệu nó có thay đổi theo giao diện của macOS hay không; được xem là hoàn tất khi màu sắc vẫn nhất quán sau khi thức dậy.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- shell
- Lĩnh vực
- cli, design
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 52/100