azat-co/expressworks

Verifying a solution goofs up terminal colours in Windows (in cmd, PowerShell, and others)

danielgeier opened this issue · 0 comments

screenshot 2014-12-09 23 38 37

How?

ExpressWorks currently uses Workshopper v0.33 which colours code snippets with pygmentize. It passes the parameter terminal256 to pygmentize - but Windows terminals don't support 256 colours (as you saw they interpret these colours very differently!).

v0.4+ of Workshopper doesn't have this problem (it uses msee instead of pygmentize).

What's the fix?

Upgrade to v0.7.2, which is the newest version before v1. This didn't break anything when I tested it (briefly).