ANSI escape characters does not appear the way they should on Eclipse console(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 控制台上的显示方式与其应有的方式不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:ANSI 转义字符在 Eclipse 控制台上的显示方式与其应有的方式不同
基础教程推荐
- Java Swing计时器未清除 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 多个组件的复杂布局 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 从 python 访问 JVM 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
