Skip to content

Commit

Permalink
switch pager to less -X -r
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatsuo committed Jul 2, 2014
1 parent d2b4440 commit b324b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
func Page(pager []string) (io.WriteCloser, <-chan error) {
errch := make(chan error, 1)
if len(pager) == 0 {
pager = []string{"more", "-r"}
pager = []string{"less", "-X", "-r"}
}
pagercmd := pager[0]
pagerargs := pager[1:]
Expand Down

0 comments on commit b324b73

Please sign in to comment.