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

前端 未结 2 1701
花落未央
花落未央 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
    0 讨论(0)
  • 2021-02-15 15:34
    1. Change Console2 to ConEmu (I'm the author of this console). It supports Ansi x3.64

    2. Or, you may use AnsiCon to enable Ansi

    0 讨论(0)
提交回复
热议问题