question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ctrl+v paste does not copy text correctly in linux(wsl)

See original GitHub issue

Take this sample

import sys

import readchar

while True:
    sys.stdout.write(readchar.readchar())
    sys.stdout.flush()

if I copy the text ClientMessage.to_server and paste it into the program terminal in linux(wsl) I would get unordered characters or missing characters like this ClientMto_seerrv

on windows cmd it works fine

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Cube707commented, Oct 31, 2022

but can’t use it in import because it is not exported in init module all

Yea its not jet externalised and you have to import it directly from the submodules, from readchar._read_posix import Readchar would have worked. Its still under development 😅

But good to know that it allready fixes your issue

1reaction
magmaxcommented, Oct 30, 2022

Anyways… Have you tried to use the terminal functionality, by pressing CTRL+SHIFT+V?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ctrl+V not working · Issue #2944 · microsoft/WSL - GitHub
I would expect Ctrl+V to just paste the copied text, just like in the regular command prompt (cmd.exe) where it works totally fine....
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 >
WSL terminal's keyboard paste is not working - Super User
Short answer. The image you provided shows that you enabled Ctrl Shift C and Ctrl Shift V for Copy/Paste. This is not the...
Read more >
In Visual Studio Code Ctrl+V is not working - Stack Overflow
This was the problem for me, but with AmVim. Strangely, although it had entries for Ctrl+c and Ctrl+v, only Copy wasn't working. Paste...
Read more >
How can one copy text from nano in Ubuntu WSL2 and paste ...
Now you can paste the copied text in WSL with another right button click, or paste in Windows with CTRL-V .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found