ANSI转义字符在Eclipse控制台上的显示方式不正确 [英] ANSI escape characters does not appear the way they should on Eclipse console

查看:54
本文介绍了ANSI转义字符在Eclipse控制台上的显示方式不正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Scala项目,并且将Scala-Eclipse-Plugin与sbt一起使用.到现在为止还挺好.但是问题是sbt向输出中写入了一些ANSI转义序列(我可能对此有误吗?).当我从shell调用sbt但在eclipse里面时,它们看起来很好:

I have a Scala project and I use Scala-Eclipse-Plugin along with sbt. So far so good. But the problem is that sbt writes some ANSI escape sequences to the output (I might be wrong about this?).They appear pretty well when I invoke sbt from shell but inside eclipse, they appear like this:

[0m[[0minfo[0m] [34m[0m

怎么了?

推荐答案

Eclipse控制台不支持ANSI转义序列.

The Eclipse console does not support ANSI escape sequences.

这篇关于ANSI转义字符在Eclipse控制台上的显示方式不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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