d4rckh / vaf

Vaf is a cross-platform very advanced and fast web fuzzer written in nim
GNU General Public License v3.0
312 stars 41 forks source link

[bug] bad coloring on windows #16

Closed d4rckh closed 2 years ago

d4rckh commented 2 years ago

Describe the bug Color codes are not working properly on cmd.exe

Expected behavior Text should be properly colored on all platforms

Screenshots image

Operating system (please complete the following information):

daanbreur commented 2 years ago

We could use this:

https://github.com/daanbreur/AdventofCode/blob/ebc3aafa1091c643a45054c2097446d30f4cb45b/2021/launcher.py#L31-L32

I wrote it a while ago in python but ansi is ansi. Im not sure if it works on linux though. Probably only in TrueColor terminals

d4rckh commented 2 years ago

We could use this:

https://github.com/daanbreur/AdventofCode/blob/ebc3aafa1091c643a45054c2097446d30f4cb45b/2021/launcher.py#L31-L32

I wrote it a while ago in python but ansi is ansi. Im not sure if it works on linux though. Probably only in TrueColor terminals

we can

daanbreur commented 2 years ago

After discussing we have decided we wont fix this. Due to that we would need to change all colors to old colors.

d4rckh commented 2 years ago

fixed in v2