-
Notifications
You must be signed in to change notification settings - Fork 843
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(windows): ensure output is utf16 wide chars when not a tty
Otherwise, the output is gibberish invalid encoded utf16. When using windows.ENABLE_VIRTUAL_TERMINAL_PROCESSING, the output gets converted automatically by Windows Console API. When output is not a terminal, we need to do that ourselves.
- Loading branch information
1 parent
80b0d90
commit ca07f34
Showing
3 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters