Use "less" as pager instead of "more"
insidewhy opened this issue · 2 comments
insidewhy commented
"more" sucks compared to "less". Haven't even used more
since 199x until this program presented me with it. more
is so old it doesn't even work with modern terminals (using urxvt + tmux here).
insidewhy commented
Also does not respect PAGER
environment variable.
The best would be:
- Default pager is
less
. - Pager can be customised using standard
PAGER
unix environment variable.
odeke-em commented
Hello @ohjames thank you for reporting this and welcome to drive.
Actually, no pager is tied to drive. Seeing "---More" for pagination is just the result of a plain printf + scanf combination
fmt.Printf("---More---");
// Then scanning for the response
This repo is no longer being maintained and if you feel this is an issue, please close this issue here and re-open it at https://github.com/odeke-em/drive.