-
Notifications
You must be signed in to change notification settings - Fork 511
Prompt written on Linux or macOS has black background #637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prompt written on Linux or macOS has black background #637
Comments
With VS Code 1.12.0 you can work around this issue by adding the following to settings.json: "workbench.colorCustomizations": {
"terminal.ansiBlack": "#1E1E1E"
} This is for Dark+, replace |
This change resolves PowerShell/vscode-powershell#637 which reports that on Linux and macOS the input prompt is printed out with a black background, overriding the console's default background color. The fix is to use a System.ConsoleColor of -1 as the default rather than System.ConsoleColor.Black so that .NET's console library will not override the console's background color.
This change resolves PowerShell/vscode-powershell#637 which reports that on Linux and macOS the input prompt is printed out with a black background, overriding the console's default background color. The fix is to use a System.ConsoleColor of -1 as the default rather than System.ConsoleColor.Black so that .NET's console library will not override the console's background color.
Unfortunately, this is still broken as of v1.4.3 on macOS 10.13, shown here with the "Light+" color theme: To spell out the workaround for white-background themes, courtesy of @Happycoil's tip: "workbench.colorCustomizations": {
"terminal.ansiBlack": "#fff"
} |
The fix for this issue hasn't actually been shipped yet, hoping to get it out this week. |
Originally reported by @joeyaiello, and I've seen it too on macOS:
#594 (comment)
Need to keep using the existing Console.BackgroundColor instead of changing it to black.
The text was updated successfully, but these errors were encountered: