github / github/copilot-cli

Copilot CLI remote SSH session reports “Copied” but clipboard remains empty on macOS

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

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

triage
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

Summary

When using Copilot CLI on a remote Linux machine over SSH from macOS Terminal, copy actions report success ("Copied to clipboard") but the selected text is not actually placed into the macOS clipboard.
Environment

Local OS: macOS (Apple Terminal)
Terminal: Terminal.app Version 2.15 (470.2)
Connection: ssh -p <port> <host>
Remote OS: Ubuntu 24.04.4 LTS
Copilot CLI version: 1.0.80

Steps to Reproduce

From macOS Terminal.app, connect to a remote Ubuntu machine via SSH:
    ssh -p <port> <host>
Run Copilot CLI on the remote machine.
Generate output in the CLI and select part of the text in the terminal.
Try to copy the selected text (right-click copy or Ctrl+C in the terminal context).
Observe that Copilot CLI shows a "Copied" confirmation message.
Paste into another app on macOS (e.g., Notes/TextEdit).

Expected Behavior

Selected text should be copied to the macOS system clipboard and be available for paste in other local apps.

Actual Behavior

Copilot CLI shows a "Copied" confirmation, but the text is not present in the macOS clipboard.

Additional Notes

Reproducible every time.
Also reproducible on machines other than mine.
This does not happen when Copilot is used locally (without SSH / without remote host).
Affected version

GitHub Copilot CLI 1.0.80

Steps to reproduce the behavior

No response

Expected behavior

No response

Additional context

No response

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 luồng sao chép trong Copilot CLI 1.0.80 từ macOS Terminal.app qua SSH đến Ubuntu 24.04.4. Theo dõi cách CLI xử lý việc chọn terminal và báo cáo clipboard trong một phiên từ xa, sau đó xác minh rằng văn bản đã sao chép có thể được sử dụng trong một ứng dụng macOS cục bộ trong khi các phiên cục bộ vẫn tiếp tục hoạt động.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
linux, macos, shell
Lĩnh vực
cli, networking, operating-systems
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 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
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.