A Go writer that abstracts `$PAGER` in a POSIX-compliant way.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
example_test.go
pager.go
pager_test.go

README.md

go-pager

GoDoc

go get snai.pe/go-pager

A Go library to help programs call and write to the user's pager.

The library introduces a Pager type that abstracts a pager program as an io.WriteCloser. It understands $PAGER in a way that is compliant with POSIX's man 1 man.