Skip to content

Terminal Preview 1.20.10303.0 - Can't paste into vi on WSL #16713

Answered by j4james
Rigido71 asked this question in Q&A
Discussion options

You must be logged in to vote

I'm curious what keyboard layout you're using, and whether it makes any difference if you switch to something like English United States before pasting. Because this looks like it might be a side effect of issue #16654.

What I think is happening is the paste operation is generating keypresses to represent the content on the clipboard, and for the . character it has chosen to use the . key on the numeric keypad (this is the part which I suspect may be dependent on your keyboard layout, because I can't reproduce the issue myself).

And the reason I think that fails, is because some editors enable Keypad Application Mode, which makes the terminal generate special escape sequence for numeric k…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Rigido71
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants