Displaying unix color on windows cmd (e.g. ←[31m)

前端 未结 2 1699
花落未央
花落未央 2021-02-15 14:53

I\'ve recently started doing some ruby on rails development on Windows 7 and have found a number of commands (rspec, guard, etc) output colour codes that just show up in text on

2条回答
  •  失恋的感觉
    2021-02-15 15:24

    I use Console2 ( http://sourceforge.net/projects/console/ ) with ansicon ( https://github.com/adoxa/ansicon ) and it work well :

    1. compile or download dll from author : http://ansicon.adoxa.cjb.net/ and put it in a repertory include in your path ;
    2. In console, launch ansicon : ansicon -i

提交回复
热议问题