cronvel / terminal-kit

Terminal utilities for node.js
MIT License
3.08k stars 198 forks source link

Paging #208

Closed ghandhikus closed 2 years ago

ghandhikus commented 2 years ago

The singleLineMenu features paging but other menu options do not. I just happened to have a surprising amount of data sometimes. And even a gridMenu can't fit them all. Any chance for paging to be added to other menu options? I am currently working around it by just making paging myself but I feel like this feature should be built in.

cronvel commented 2 years ago

You may use the ColumnMenu of the Document Model, it's only partly documented, but it can be considered stable. See the sample code located here: ./sample/document/column-menu-test.js.