diff options
| author | T <t@tjp.lol> | 2025-03-24 21:14:30 -0600 |
|---|---|---|
| committer | T <t@tjp.lol> | 2025-03-24 21:16:12 -0600 |
| commit | 27dabae7535f6b656dd6edb9355907e271822168 (patch) | |
| tree | 36256809cd5a3bfe97fdbf04f5104130d5d9b4a2 /state.go | |
| parent | 52826ae8183a1510c65aa63f5459f94c4d9ad4d7 (diff) | |
use the -R less option to allow ASCII color codes in the pager
Diffstat (limited to 'state.go')
| -rw-r--r-- | state.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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") |
