ghcloneall icon indicating copy to clipboard operation
ghcloneall copied to clipboard

Support Windows by using colorama

Open mgedmin opened this issue 5 years ago • 2 comments

colorama intercepts sys.stdout and parses ANSI escape sequences and converts them to Windows API calls that produce colors in a terminal.

Apparently it also supports cursor positioning commands.

So maybe all I need to do is import colorama; colorama.init() once and ghcloneall will behave nicely in a cmd.exe shell?

mgedmin avatar May 24 '20 19:05 mgedmin

pls make it clear will it work on windows?

Sandy4321 avatar Aug 13 '21 16:08 Sandy4321

I've never tried. I don't use Windows often enough to be interested in trying.

(I'm sure it would work under WSL, but that's not really Windows.)

mgedmin avatar Nov 24 '21 17:11 mgedmin