Java framework for reading / writing ANSI escape-sequenced character streams

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-18 16:58:14

问题


Reading ANSI escape sequences is nitty gritty and very easy to get wrong. I am after a library that includes an abstraction for reading escaped sequences preferrably as instances of some nice type. It would be nice if the library offered strongly types rather than everything is a strong and good luck do the stuff yourself.

Any pointers to a foss library would be appreciated.

A similar question A library to convert ANSI escapes (terminal formatting/color codes) to HTML which seems to have a similar motivation also remains unanswered.


回答1:


You may want to take a look at Jansi.
Here is the homepage and github repo

I hope that helps.



来源:https://stackoverflow.com/questions/6520116/java-framework-for-reading-writing-ansi-escape-sequenced-character-streams

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!