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

查看:46
本文介绍了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天全站免登陆