Setting to disable "Paste multiline text may execute code" popup message introduced in WT 1.2 Preview #9830

Open
opened 2026-01-31 02:04:58 +00:00 by claunia · 0 comments
Owner

Originally created by @ChrisLynchHPE on GitHub (Jul 24, 2020).

Description of the new feature/enhancement

In the newly released Windows Terminal 1.2.2022.0 Preview, pasting multiple lines of text produces a new dialog message:

image

There is no documented setting to disable this prompt (likely not implemented at all). Please implement a settings option to never prompt this message again. As a developer and power user, this message is pointless to me. This breaks my flow of development, as this message is displayed every time I paste multiple lines of code into the terminal, regardless of the tab, and I have to click Paste anyway button. The average user might find this new setting helpful too.

Proposed technical implementation details (optional)

Similar to the confirmCloseAllTabs setting property, a similar one for this should be created:

Property name: confirmMultiLinePasteMessage
Necessity: Optional
Accepts: true, false
Default value: true
``
Originally created by @ChrisLynchHPE on GitHub (Jul 24, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement In the newly released Windows Terminal 1.2.2022.0 Preview, pasting multiple lines of text produces a new dialog message: ![image](https://user-images.githubusercontent.com/6956305/88414668-15a0cb00-cd92-11ea-936c-b71e6c459343.png) There is no documented setting to disable this prompt (likely not implemented at all). Please implement a settings option to never prompt this message again. As a developer and power user, this message is pointless to me. This breaks my flow of development, as this message is displayed every time I paste multiple lines of code into the terminal, regardless of the tab, and I have to click `Paste anyway` button. The average user might find this new setting helpful too. # Proposed technical implementation details (optional) Similar to the `confirmCloseAllTabs` setting property, a similar one for this should be created: ``` Property name: confirmMultiLinePasteMessage Necessity: Optional Accepts: true, false Default value: true ``
claunia added the Issue-QuestionNeeds-Tag-FixResolution-Answered labels 2026-01-31 02:04:59 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9830