PSReadLineKeyHandler Function "Copy" does not work when used in WSL
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- C#
- Stars
- 4.4k
- Forks
- 341
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PowerShell/PSReadLine
-
Needs-Triage :mag:
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PowerShell/PSReadLine#5205 ·
-
Needs-Triage :mag:
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PowerShell/PSReadLine#5195 ·
-
Needs-Triage :mag:
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PowerShell/PSReadLine#5121 ·
-
Needs-Triage :mag:
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
PowerShell/PSReadLine#5045 ·
-
Area-CommandHelp Issue-Enhancement
Difficulty 1/5 Under an hour Newbie friendliness 68/100
PowerShell/PSReadLine#3470 · 3 reactions ·