如何重设Powershell颜色 [英] How can I reset the powershell colors

查看:196
本文介绍了如何重设Powershell颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我更改了Powershell的颜色,但是现在我无法更改输入文本的颜色,始终为黄色

I changed the colors of the powershell and now I can't change the color of the input text, is always yellow.

我更改了背景色和文本的颜色

I changed the color of the background and the color of the text

背景颜色正确更改,但在显示文本中颜色仍然是黄色。

The color of the background changed correctly but in the display text the color still is yellow.

我可以做点什么吗?重置颜色?

Can I do something to reset the colors?

推荐答案

这将重置控制台颜色(例如[Console] :: BackgroundColor):(粘贴在powershell控制台中)

This resets the console colors (e.g., [Console]::BackgroundColor): (Paste in the powershell console)

[Console]::ResetColor()

这篇关于如何重设Powershell颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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