-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
It would be nice to allow search of patterns in the CLI multi-page output. Something similar as it is done by "less" command. A very good start point for implementation of this is the "less" implementation in aesh-extensions [1].
List of keys and actions for the search:
- SLASH : switch to a search mode input
- ANY KEY : adding the char into search pattern
- ENTER : search the document for the pattern
- UP : move up in the search history
- DOWN : move down in the search history
- 'n' : go to next match (if no more matches in the direction say "Pattern not found (press RETURN)")
- 'N' : go to prev. match (if no more matches in the direction say "Pattern not found (press RETURN)")
- HOME / 'g' : go to start of the document
- END / 'G' : go to end of the document
[1] https://github.com/aeshell/aesh-extensions/tree/master/aesh/src/main/java/org/aesh/extensions/less