Skip to content

Conversation

andyleejordan
Copy link
Member

@andyleejordan andyleejordan commented Jan 13, 2022

This is an attempt to fix PowerShell/vscode-powershell#3651

@andyleejordan
Copy link
Member Author

@SeeminglyScience My quick testing where I used _consoleHostUI instead of _underlyingHostUI also did not work. I debugged it and the test code in the given issue definitely just calls public override void WriteLine(string value) (not WriteInformation) and it's doing with just the raw string values Test 1 etc. So something is dropping the -NoNewLine and the colors before it gets here.

@andyleejordan
Copy link
Member Author

Closing as we cherry-picked this commit into #1668

@andyleejordan andyleejordan deleted the andschwa/host-ui-interface branch January 18, 2022 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Write-Host -NoNewLine not respected

1 participant