You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Some azure-devops CLI extension commands change the default console colors, specifically those that issue the statement: "This command group is in preview...". The problem is that subsequent console output (i.e. regular informational text, for example produced by Write-Output) is completely unreadable (black on black).
To Reproduce
Azure Cli Version: 2.0.76
Use az --version
Look for something like-
azure-cli (2.0.70)
Azure-Devops extension version: 0.15.0
Use az --version
Look for something like-
Extensions:
azure-devops (0.15.0)
Steps to reproduce the behavior:
Open Visual Code integrated terminal for PowerShell Core 6
login using az login or az devops login
Run command "az boards iteration project list --depth 10 --org $orgUrl --project $projectName
See "This command group is in preview..." message (blue on black text)
Try typing another command in the integrated terminal (PowerShell Core) window, nothing is visible as the console colors for regular text are now black on black.
Expected behavior
The only way I've found to recover the proper console colors is to invoke the [Console]::ResetColor() method, but this is a hack and devops cli shouldn't be interfering with the Visual Code PS Core console colors in this way. Note that this only happens in the Visual Code (1.40.2) terminal/console window - the behavior is fine in a PowerShell Core 6 console window.
Screenshots
If applicable, add screenshots to help explain your problem.
Debug logs
Add the output of the command running it with debug mode (--debug)
Additional context
Add any other context about the problem here.
Describe the bug
Some azure-devops CLI extension commands change the default console colors, specifically those that issue the statement: "This command group is in preview...". The problem is that subsequent console output (i.e. regular informational text, for example produced by Write-Output) is completely unreadable (black on black).
To Reproduce
Azure Cli Version: 2.0.76
Use az --version
Look for something like-
azure-cli (2.0.70)
Azure-Devops extension version: 0.15.0
Use az --version
Look for something like-
Extensions:
azure-devops (0.15.0)
Steps to reproduce the behavior:
Expected behavior
The only way I've found to recover the proper console colors is to invoke the [Console]::ResetColor() method, but this is a hack and devops cli shouldn't be interfering with the Visual Code PS Core console colors in this way. Note that this only happens in the Visual Code (1.40.2) terminal/console window - the behavior is fine in a PowerShell Core 6 console window.
Screenshots
If applicable, add screenshots to help explain your problem.
Debug logs
Add the output of the command running it with debug mode (--debug)
Additional context
Add any other context about the problem here.
Reported by @skeeler here - Azure/azure-devops-cli-extension#907
The text was updated successfully, but these errors were encountered: