Windows Terminal Warning Insert Multiple Lines


Windows Terminal Warning: You are about to paste text that contains multiple lines

When pasting multiple lines from the clipboard in Windows Terminal, the warning message appears:

  You are about to paste text that contains multiple lines. If you paste this text into your shell, it may result in the unexpected execution of commands. Do you wish to continue?

Windows Terminal Warning, You are about to paste text that contains multible lines.

When working in the shell, the security warning can be useful, but when editing it is more of a handicap, but there is the suitable option “multiLinePasteWarning” which can be set from true to false.

"$schema": "",
"defaultProfile": "PowerShell",
"alwaysShowTabs": true,
"copyFormatting": "none",
"copyOnSelect": true,,
"multiLinePasteWarning": false,

After the Windows Terminal setting with Ctrl+, and open JSON file, under the section $schema the option “multiLinePasteWarning”: false has been inserted, the warning for multi-line pasting no longer appears.

How useful was this post?

Click on a star to rate it!

Average rating 4 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Leave a Reply

Your email address will not be published. Required fields are marked *