markbt / streampager

A pager for command output or large files
MIT License
45 stars 11 forks source link

pager: add APIs to create from specified input / output #25

Closed quark-zju closed 4 years ago

quark-zju commented 4 years ago

This adds some flexibility. In particular, chg 1 server does not have /dev/tty, aka. the "system terminal" avaiable. So it must provide the input / output elsewhere.