问题
When I click and select texts on PowerShell and Command Prompt, running tasks always be paused. How can I avoid this?
I'd like to avoid accidental stopping tasks by unexpected mouse control. ( I just need normal selecting behaviors with no side effects like mac or linux terminal. )
回答1:
I tend to like this feature or maybe I am just use to it. Sometimes it is nice to pause a task.
i hit one of the arrow keys to "unpause" something when I want it to continue.
https://www.vistax64.com/threads/script-pauses-when-you-click-in-the-powershell-text-window.112032/
The only method I know of changing this is the "Quick Edit" setting, via the registry
HKCU\Console\QuickEdit
0x1
(on) 0x0
(off)
Or by going to the properties of the console windows (right click on title bar, Properties) to change the setting:
来源:https://stackoverflow.com/questions/60583915/avoid-pausing-tasks-when-select-something-on-powershell-and-command-prompt