Closed
Description
The Powershell initialization script scripts/WinPython_PS_Prompt.ps1
changes the color of the terminal.
winpython/portable/scripts/WinPython_PS_Prompt.ps1
Lines 67 to 69 in 393758c
When calling WinPython_PS_Prompt.ps1
from other scripts one has to reset terminal colors afterwards (and if only to defaults) for it not to affect later terminal output.
Is there any objective necessity for it?
If not, I suggest removal of these calls.
--
For those running into this problem, a current fix in a parent script is to call
[Console]::ResetColor() # fix WinPython setting $host.ui.RawUI.BackgroundColor and .ForegroundColor
Metadata
Metadata
Assignees
Labels
No labels