Open Vbbab opened 3 years ago
Currently, by looking at the output of mdv on Windows:
mdv
[38;5;59m[0m[38;5;231mHeader 1[0m
it appears that ANSI escapes for color are used. Windows does not natively support this, however.
There is a wrapper library called colorama which will allow ANSI escapes to be properly utilized by Windows.
colorama
Example:
import colorama # pip install colorama colorama.init() # All print() calls with ANSI escapes now work on Windows
Consider using this to make mdv more friendly for Windows?
Currently, by looking at the output of
mdv
on Windows:it appears that ANSI escapes for color are used. Windows does not natively support this, however.
There is a wrapper library called
colorama
which will allow ANSI escapes to be properly utilized by Windows.Example:
Consider using this to make
mdv
more friendly for Windows?