-
Hi,
(This happens on vi and sometimes on command line too.) If you paste the previous ip on the Ubuntu WSL window itself you'll get "141n86n241n148" and if you paste it on vi on the ubuntu window you'll get "141^[On86^[On241^[On148". Do someone have any hints on this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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 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 keypad keys. In particular, the We only added support for this mode in the last update, which is why you wouldn't have had noticed the issue before. It should be fixed in the next release though. |
Beta Was this translation helpful? Give feedback.
-
Hi j4james, Thank you. |
Beta Was this translation helpful? Give feedback.
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…