summaryrefslogtreecommitdiff
path: root/state.go
diff options
context:
space:
mode:
authorT <t@tjp.lol>2025-04-03 08:36:48 -0600
committerT <t@tjp.lol>2025-04-03 10:28:17 -0600
commit129bf1b24678743c3ee076ccdb5d5b34f311f98b (patch)
tree848acd2e776eaa577a63a39f9f77b99809e6dfad /state.go
parentadeb6dece0b19fc7b27eb02bab531781bcd9e595 (diff)
include -X option for less to pervent clearing screen upon exit
Diffstat (limited to 'state.go')
-rw-r--r--state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/state.go b/state.go
index 17d595d..ce60e2a 100644
--- a/state.go
+++ b/state.go
@@ -86,7 +86,7 @@ func (PromptPrinter) PrintPage(state *BrowserState, body string) error {
return nil
}
- lessarg := []string{"-R"}
+ lessarg := []string{"-R", "-X"}
switch state.Pager {
case "auto":
lessarg = append(lessarg, "-F")