github / github/copilot-cli

--no-alt-screen was silently removed with no replacement — alt-screen is now unavoidable and broken

Đang mở
#4,509 0 bình luận 3 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

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ả

Alt-screen/fullscreen mode is a genuine regression for a lot of us, and it's
been reported since March (#1799, #2334) with no resolution.

What makes this worse: the --no-alt-screen flag that used to let people
opt out has now been removed entirely, with no deprecation notice and no
replacement setting. Running it now just fails:

$ copilot --no-alt-screen
error: unknown option '--no-alt-screen'

I checked /settings for an equivalent key and found nothing that restores
inline/streaming rendering. So as of the current release, there is no
supported way to turn off fullscreen mode at all.

This isn't a nice-to-have. Alt-screen breaks:

  • native terminal scrollback (can't scroll up past the current screen)
  • terminal search (Cmd+F / Ctrl+F can't see history)
  • copy/paste in some terminal emulators
  • usability in tmux/screen and browser-based terminals

Please either:

  1. Restore --no-alt-screen (or an equivalent /settings key), or
  2. Clearly document the replacement if one exists and I'm missing it.

Removing an escape hatch that people were actively relying on, without
warning, is a bad pattern. At minimum this needs a documented workaround.

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

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện copilot --no-alt-screen và kiểm tra /settings để xem các tùy chọn điều khiển alt-screen hiện tại. Theo dõi tùy chọn CLI và các điểm vào của Settings để xác định liệu đã có một tùy chọn tương đương hay flag cần được khôi phục. Hoàn tất khi có thể tắt việc kết xuất inline hoặc streaming thông qua một giao diện được hỗ trợ và có tài liệu mà không gặp lỗi tùy chọn không xác định.

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
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

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.