Skip to content

Added windows_color function to allow formatted text#57

Open
Voidtex wants to merge 1 commit intoshobrook:masterfrom
Voidtex:master
Open

Added windows_color function to allow formatted text#57
Voidtex wants to merge 1 commit intoshobrook:masterfrom
Voidtex:master

Conversation

@Voidtex
Copy link
Copy Markdown

@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
Copy Markdown
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