【问题标题】:Colored output in Git Bash MINGW32 MsysGit Bash MINGW32 Msys 中的彩色输出
【发布时间】:2015-07-15 01:14:31
【问题描述】:

已经提出了类似的问题,但ANT 的答案在这里How to see color Ant output in MSYS/Git Bash?

但我正在运行黄瓜测试用例。

我也试过https://github.com/adoxa/ansicon/这里给出的教程,但运气不好

【问题讨论】:

  • 与@JustinKo 分享也许他能回答。

标签: cucumber msysgit git-bash msys


【解决方案1】:

它与 git bash 一起使用,诱使 cucumber 安装 ansicon,只需将其放入您的 .bashrc

export ANSICON=1

这行得通,因为 git bash 可以处理 bash 颜色序列,你只需要绕过cucumber's ansicolor check

【讨论】:

    猜你喜欢
    • 2021-09-28
    • 2023-03-10
    • 2021-12-23
    • 1970-01-01
    • 1970-01-01
    • 2018-07-22
    • 2011-04-20
    • 1970-01-01
    • 2016-01-10
    相关资源
    最近更新 更多