New warning without warning? #10822

Closed
opened 2026-01-31 02:31:12 +00:00 by claunia · 1 comment
Owner

Originally created by @CubeSyVal on GitHub (Sep 29, 2020).

Why does the new command prompt now say
"Warning
You are now 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?"

This is not necessary and I was enjoying using this software as my primary putty replacement until this warning was put in to "help" me.
I cannot find out how to remove this warning and it was added randomly in a background update.

How do you remove this? It is really annoying because it doesn't happen just once, it happens every time I paste something that dares to have multiple lines.

I need to be able to paste multiple lines dozens, maybe hundreds of times throughout my working day and I would appreciate being able to turn it off.

Thank you

Originally created by @CubeSyVal on GitHub (Sep 29, 2020). Why does the new command prompt now say "Warning You are now 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?" This is not necessary and I was enjoying using this software as my primary putty replacement until this warning was put in to "help" me. I cannot find out how to remove this warning and it was added randomly in a background update. How do you remove this? It is really annoying because it doesn't happen just _once_, it happens every time I paste something that _dares_ to have multiple lines. I need to be able to paste multiple lines dozens, maybe hundreds of times throughout my working day and I would appreciate being able to turn it off. Thank you
Author
Owner

@zadjii-msft commented on GitHub (Sep 29, 2020):

If you take a look at the docs, you'll find the following setting will do what you want:

"largePasteWarning": false
@zadjii-msft commented on GitHub (Sep 29, 2020): If you take a look at [the docs](https://docs.microsoft.com/en-us/windows/terminal/customize-settings/global-settings#paste-warnings), you'll find the following setting will do what you want: ```jsonc "largePasteWarning": false ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10822