Intro

When trying to paste multilne text in Windows Terminal, you might get following warning message

file

When you hit Paste anyway, terminal will accually execute your clipboard content line by line, and that won’t produce what we want in most cases.

file

Solution

The solution is really simple. Open up the settings

file

and in bottom left corner click Open JSON file.

file

In settings json find actions property and comment out the paste command:

file

Save the settings.json and now you can paste multiline text into Windows Terminal.

Last modified: June 29, 2023
Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
soks

not wokring on w11