6

请教各位, Java 有没有这样的一个库,用于在 Linux 的 terminal 中像记事本一样读文...

 2 years ago
source link: https://www.v2ex.com/t/800077
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  Java

请教各位, Java 有没有这样的一个库,用于在 Linux 的 terminal 中像记事本一样读文本,对于文本超出终端长度的部分,可以通过按上下左右键的方式进行光标移动来翻阅未显示的部分,而不会自动换行

  heavyrainn · 8 小时 3 分钟前 · 540 次点击
怎么说呢…有点儿像 vim,但是还不是 vim 。
我就是想用程序生成一段文本,然后实现一个所生成文本的查阅功能。由于这个功能要用在 terminal (像 XShell 等)里面展示内容,又不希望破坏原有格式(因为有一些图形表格类的内容,而且可能会非常长)
不知道我说明白了没有,请大家帮助,感谢大家

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK