PSReadLineKeyHandler Function "Copy" does not work when used in WSL

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
csharp, powershell
Lĩnh vực
cli

Hướng nghiên cứu

Start by locating the PSReadLineKeyHandler implementation for the "Copy" function and the existing AsOSC52 handling used by Set-Clipboard. Verify the behavior in WSL and confirm that Copy uses the OSC 52 path when appropriate, with tests covering the resulting clipboard behavior.

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

Mô tả

Issue-Enhancement Needs-Triage :mag:
Prerequisites
  • Write a descriptive title.
Description of the new feature/enhancement

PSReadLineKeyHandler Function "Copy" does not work when used in WSL. This might be because by default it does not use AsOSC52 method. Similar to how 'test' | Set-Clipboard wont work but 'test' | Set-Clipboard -AsOSC52 does.

Proposed technical implementation details (optional)

Allow PSReadLineKeyHandler Function "Copy" to use AsOSC52

Ngôn ngữ chính
C#
Star
4.4k
Fork
341
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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.

Issue khác của PowerShell/PSReadLine

Tất cả issue của PowerShell/PSReadLine

Issue tương tự

Thêm issue về C#

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.