command line/shell paging framework/api

367 Views Asked by At

I have a java command line program and I need to print a document, the document's content is very long, so I want add-in paging function.

I want searching some framework/api who can detect the command line window size make print string adjust in windows size.

If any idea, please let me know.

Thanks a lot.

1

There are 1 best solutions below

0
On

I found solution, Using JLine https://github.com/jline/jline2