Unable to use copy/paste in WSL bash.
See original GitHub issueI am currently using Windows version 1903. After installing the Windows PowerShell v6+, the new PowerShell console window does not support Control-V paste after entering WSL(Linux Subsystem) bash. The original PowerShell console does support bash and hotkey copy/paste.
Steps to reproduce
- Installed Powershell using following command
iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI"
- Type bash to enter Ubuntu in windows.
- Try to use hotkeys, such as Ctrl-V or Ctrl-P OR right-click in the window.
Expected behavior
Paste information copied.
Actual behavior
No response in the console. See attached photo for info.
https://drive.google.com/file/d/10NJyFhcM-XC4G5FQL4NjzkYeM91SM0sl/view
Environment data
See the photo link above. Note: Github’s markdown editor’s URL does not allow me to use the photo from google drive as a link. Please copy/paste to check to photo.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
WSL terminal's keyboard paste is not working
You have enabled paste using Ctrl + Shift + V . This is perhaps why Ctrl + V is not working. Share.
Read more >Copy and Paste arrives for Linux/WSL Consoles
With the new copy & paste option selected, you'll be able to copy and paste text using [CTRL] + [SHIFT] + [C|V] respectively....
Read more >How to enable Ctrl+C and Ctrl+V in WSL?
To Copy: Ctrl + Shift + C · To Paste: Ctrl + Shift + V.
Read more >How do I copy/paste in WSL terminal? · Issue #1482
In my Ubuntu terminal, however, ctrl+shift+v does not paste. It se... ... It seems the only way to copy/paste is to use right-click....
Read more >Copy Paste in Bash on Ubuntu on Windows
In order to be able to copy from Terminal, Just use CTRL+M and this will enable you to select and copy selected Text....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@iSazonov The screenshots shows starting bash from pwsh, not running pwsh in WSL.
@daxian-dbw The question is that pwsh run in WSL but (1) Ctrl-C/P do not work, (2) right click doesn’t work.
@ralic Install latest PSReadline version (Beta5) and try Ctrl-C/P.