microsoft / microsoft/terminal

Windows Powershell Disable Past Warning is not working.

Open
#19,311 6 comments 0 reactions 0 assignees View on GitHub
Needs-Attention Needs-Tag-Fix Needs-Triage
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

Expected behavior :
i wand to disable to multlinepast waring popup and the cmd line don't execute while past the cmd, when i past and press enter button only the cmd wand to execute.

Actual behavior:
now the behavior is when past the cmd it is showing `past anyway` warning pop up, when i click the past-anyway button the cmd was executing without press the enter button, i wand to type more cmds after pasting the cmd but due to this issue i can't able to type extra cmds after pasting the cmd.

Environment data:

Name Value
---- -----
PSVersion 7.5.2
PSEdition Core
GitCommitId 7.5.2
OS Microsoft Windows 10.0.19045
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

https://github.com/user-attachments/assets/8d1e8ad7-dcf8-4ef0-bd06-10f922c558ee

Contributor guide

Open the contributing guide

Research direction

Reproduce the paste warning behavior in Windows Terminal on Windows 10 with PowerShell 7.5.2, using the expected and actual behavior described in the issue. No source file or test is named; done means disabling the warning preserves pasted commands without executing them until Enter is pressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.