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?
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": "https://aka.ms/terminal-profiles-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.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?