如何在使用console2时启用msysgit彩色输出 [英] How do I enable msysgit colored output when using console2

查看:118
本文介绍了如何在使用console2时启用msysgit彩色输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用console2时,我很难在窗口上启用git彩色输出。

欺骗git我已经设置了TERM ='cygwin'。这启用了标准cmd.exe提示符下的颜色,但不是在console2中。我已经验证了console2可以看到env var。

任何人都知道如何得到这个工作吗? 哇。解决方案是禁用控制台2中的自定义字体颜色。如果启用,它将覆盖预期的颜色。



使用c2的alpha透明度时,我使用自定义颜色给我不透明的文本。我完全忘了它。


I'm having a hard time enabling git colored output on windows when using console2.

To trick git I've already SET TERM = 'cygwin'. This enabled the colors from a standard cmd.exe prompt but not in console2. I've verified that console2 can see the env var as well.

Anyone know how to get this working?

解决方案

Ok, wow. The solution is to disable custom font color in console2. If enabled, it overrides the expected colors.

I use a custom color to give me opaque text when using c2's alpha transparency. I completely forgot about it.

这篇关于如何在使用console2时启用msysgit彩色输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆