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

Added windows_color function to allow formatted text #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added windows_color function to allow formatted text #57

wants to merge 1 commit into from

Conversation

Voidtex
Copy link

@Voidtex Voidtex commented Jun 17, 2019

Checks for Windows OS and calls op.system('color') to allow cmd to use formatted text
From my environment, this is necessary in order to get the color codes to be colors instead of being interpreted as literals
If it's turned on, calling it again does not appear to make any changes
Returns a 1 in cmd, meaning non-recognized command, but it works

Checks for  Windows OS and uses op.system to allow cmd to use formatted text
@shobrook
Copy link
Owner

shobrook commented Jan 3, 2021

Can you fix the code quality issues first and then I'll gladly merge this. Thank you!

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.

2 participants