Skip to content
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

Add Windows support #18

Merged
merged 1 commit into from
Jul 20, 2022
Merged

Add Windows support #18

merged 1 commit into from
Jul 20, 2022

Conversation

chelnak
Copy link
Owner

@chelnak chelnak commented Jul 20, 2022

Prior to this commit the support for Windows was limited to modern terminal emulators.

This commit uses colorable.NewColorableStout() if we detect a windows OS. This handles the interpretation of the tput escape sequences and color printing.

Currently tested on Server 2019

  • cmd.exe
  • pwsh 7.2

@chelnak chelnak added the enhancement New feature or request label Jul 20, 2022
@chelnak chelnak self-assigned this Jul 20, 2022
Prior to this commit the support for Windows was limited to modern
temrinal emulators.

This commit uses colorable.NewColorableStout() if we detect a windows
OS. This handles the interpretation of the tput escape sequences and
color printing.

Currently tested on Server 2019
* cmd.exe
* pwsh 7.2
@chelnak chelnak merged commit 84425f0 into main Jul 20, 2022
@chelnak chelnak deleted the windows_support branch July 20, 2022 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant