coldcore
coldcore copied to clipboard
windows: using coldcore from cmd (instead of dashboard) doesn't render properly
This occurs when using command prompt or powershell
@jamesob I don't know if there's an easy fix here. It looks like it might require third party tools or some sort of windows system hack to get it working: https://stackoverflow.com/questions/16755142/how-to-make-win32-console-recognize-ansi-vt100-escape-sequences
A potential workaround could be to detect if the user is on windows and calling the prepare-send from the command line as opposed to dashboard. If that's the case then we display the message as default color?
Somewhat unrelated question - to get coldcore to work on windows, I had to do pip install windows-curses
, which takes away from the "standard Python only" mantra. Is this a deal breaker @jamesob?
@billygarrison thanks for the filing the issue. I didn't realize that curses wasn't bundled with Python on windows environments, that's a shame. I guess we should update the README with that special case.
I guess we could also disable the color formatting pretty easily if we detect the user is on Windows.