How can I reset the powershell colors

后端 未结 10 1369
梦毁少年i
梦毁少年i 2021-01-30 20:08

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

10条回答
  •  青春惊慌失措
    2021-01-30 20:55

    Stolen from Xin, but I cannot comment so you're going to have to accept that

    [Console]::ResetColor()
    

    then clear the screen to let the change take effect.

    clear
    

    I think that was the problem bucky was having with the previous answer.

    Hope this helped!

提交回复
热议问题