什么是用于终端应用程序的好的 Java、curses 类库?

我想编写一个进行屏幕操作的 Java 终端应用程序.有没有什么好的库可以让你在 *nix/C 世界中像诅咒一样操纵屏幕?

I would like to write a Java terminal application that does screen manipulation. Are there any good libraries out there that allow you to manipulate the screen like curses in the *nix/C world?

我正在寻找的最小功能是窗口和用户输入支持.

Minimal features I'm looking for are windowing and user input support.

在功能方面,我希望有一个终端区域,其中一些数据会定期更新,同时(同时)用户可以在屏幕的其他部分输入命令/文本.

In feature-speak, I'd like to have a region of the terminal where some data is regularly updated while (at the same time) the user can enter commands/text in some other part of the screen.

推荐答案

有Charva,它链接到本机代码,但有一个基于 Swing 的 api.屏幕截图显示了很多文本窗口,看起来很有用.

There is Charva, which links to native code but has an api based on Swing. The screenshots show lots of text windows, so that looks useful.

相关文章