Recently I made a discussion on using a pager for log/diff/credit output. This has been implemented using the pager
crate. But there is a severe issue with this implementation: Windows support.
As with pager
and the current implementation, it requires less to be available: which is not present in Windows. You either have to package less
or do something like what git
does; packaging the GNU coreutils.
This could prove really difficult to release and maintain. I think the best approach would be to write a small, asynchronous, message-passing based pager
This would not have the issue of hang ups as that happened with the moins
crate
I am currently working on a prototype
What do you think @pmeunier