summaryrefslogtreecommitdiff
path: root/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'state.go')
-rw-r--r--state.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/state.go b/state.go
index 5c3aa5c..17d595d 100644
--- a/state.go
+++ b/state.go
@@ -86,10 +86,10 @@ func (PromptPrinter) PrintPage(state *BrowserState, body string) error {
return nil
}
- lessarg := []string{}
+ lessarg := []string{"-R"}
switch state.Pager {
case "auto":
- lessarg = []string{"-F"}
+ lessarg = append(lessarg, "-F")
fallthrough
case "always":
less, err := exec.LookPath("less")