[pass] [feature] tree, detect overflow, use pager
Jason A. Donenfeld
Jason at zx2c4.com
Fri Apr 25 02:21:21 CEST 2014
There's a nice setting of LESS where you pipe it to less plus the options
that say "don't scroll if it fits in the window entirely", basically making
the less pipe a no-op unless the window is too small.
Here's how systemd does it:
http://git.zx2c4.com/systemd/tree/src/shared/pager.c#n89
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20140425/da320038/attachment.html>
More information about the Password-Store
mailing list