You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set up these handlers for windows-style Ctrl-C / Ctrl-X: Set-PSReadlineKeyHandler -Chord Ctrl+c -Function CopyOrCancelLine Set-PSReadlineKeyHandler -Chord Ctrl+x -Function Cut
Expected behavior
Select text. Ctrl-C or Ctrl-X should place that text on the system clipboard. It should be possible to paste that text in the same WSL terminal or anywhere in the Windows system.
Actual behavior
Text is not placed on the clipboard. Paste, even in the same console, is still pasting the previous clipboard contents.
Environment
I am using Windows Terminal.
Steps to reproduce
Set-PSReadlineKeyHandler -Chord Ctrl+c -Function CopyOrCancelLineSet-PSReadlineKeyHandler -Chord Ctrl+x -Function CutExpected behavior
Select text. Ctrl-C or Ctrl-X should place that text on the system clipboard. It should be possible to paste that text in the same WSL terminal or anywhere in the Windows system.
Actual behavior
Text is not placed on the clipboard. Paste, even in the same console, is still pasting the previous clipboard contents.