在PowerShell和命令提示符上选择某些内容时,避免暂停任务 [英] Avoid pausing tasks when select something on PowerShell and Command Prompt

查看:190
本文介绍了在PowerShell和命令提示符上选择某些内容时,避免暂停任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我单击并在PowerShell和命令提示符上选择文本时,正在运行的任务总是被暂停。如何避免这种情况?

When I click and select texts on PowerShell and Command Prompt, running tasks always be paused. How can I avoid this?

我想避免意外的鼠标控制意外停止任务。 (我只需要正常的选择行为,而不会有像mac或linux terminal这样的副作用。)

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. )

推荐答案

我倾向于喜欢此功能或也许我只是习惯了。有时,暂停任务会很好。

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/

我知道唯一更改此方法的方法是通过注册表
HKCU\Console\QuickEdit 0x1 (打开) 0x0 (关闭)

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:

这篇关于在PowerShell和命令提示符上选择某些内容时,避免暂停任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆