How to Disable Paste Warning in Windows 11 Terminal

Table of Contents

Warn when the text to paste contains multiple lines

Every time you paste something into Windows Terminal you get the following annoying message that’s attempting to save you from yourself.

It’s enabled be default regarding Microsoft’s Windows Terminal docs about Terminal Interaction.

How to Disable Paste Warning in Windows 11 Terminal

Disable paste warnings

1. Open Windows Terminal then open its settings page.

How to Disable Paste Warning in Windows 11 Terminal

In new version of Windows Terminal, you have open JSON file in the settings page.

How to Disable Paste Warning in Windows 11 Terminal

2. At the root of your settings.json, not under any other key, just inside the first level of brackets , add this parameter then save the changes.

"multiLinePasteWarning": false,
How to Disable Paste Warning in Windows 11 Terminal
{
    "$help": "https://aka.ms/terminal-documentation",
    "$schema": "https://aka.ms/terminal-profiles-schema",
    "multiLinePasteWarning": false,
    "actions": 
    [
        {
            "command": "find",
            "keys": "ctrl+shift+f"
        },
        {
            "command": "paste",
            "keys": "ctrl+v"
       ......

Finally, open Terminal then trying to paste multiple lines into it and verify the warning was gone.

Leave a Comment

Required fields are marked *