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.

Right click paste should work mostly like Ctrl+v paste

See original GitHub issue

There are various complaints about the right click to paste behavior - all of which are non-issues with Ctrl+v paste.

This includes:

  • Accepting input before the “paste” is done (#575)
  • “paste” with \n comes in reverse (#496)
  • carriage return not honored (#417 #245)
  • tab completion happens when it shouldn’t (#77)
  • pasting is slow (#37)

The fix for this should also address #290 by checking if the input is “complete” after a newline, though it should check if the last statement could be continued even if it is complete, e.g. if w/o an else or try without a finally.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:14
  • Comments:26 (11 by maintainers)

github_iconTop GitHub Comments

9reactions
DHowettcommented, Jul 26, 2020

Yeah, bracketed paste is 100% the right way to fix this. It’s on my personal to-do list to add support for that to conhost and WT 😃

5reactions
KalleOlaviNiemitalocommented, Feb 18, 2020

On xterm, PowerShell could enable bracketed paste mode and then recognize the control sequences that xterm adds before and after pasted text. That could be more reliable than a timer-based heuristic, especially over slow links.

The Windows console does not seem to support it though, according to Console Virtual Terminal Sequences and https://github.com/microsoft/terminal/issues/395.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Right Click Copy & Paste Not Working in Windows ...
Usually, simply using Ctrl + C to copy and Ctrl + V to paste is all you need to do. Alternatively, you can...
Read more >
Control the formatting when you paste text
By default, Word preserves the original formatting when you paste content into a document using CTRL+V, the Paste button, or right-click + Paste....
Read more >
How do you know when to use SHIFT+INSERT vs CTRL-V ...
Some times I copy something to the clipboard, and it doesn't paste with Shift + Insert , but with Ctrl + V or...
Read more >
Copy and paste in Windows PowerShell
As of Windows 10, Ctrl + C works for copying the text & Ctrl + V works for paste. You can also select...
Read more >
Ctrl+C and right click+copy only work after 3 to 4 tries, any ...
Open a different app (a text editor is usually a good choice) and try copying and pasting within that app. Type 3 words,...
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