aboutsummaryrefslogtreecommitdiffstats
path: root/config/viewer.go
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2023-05-10 14:18:28 +0200
committerRobin Jarry <robin@jarry.cc>2023-05-16 13:56:58 +0200
commitda1f014b7050195d7f3e6f849bc105d87efc227b (patch)
treee084c77447754a498eacd236da79ea458f66fb94 /config/viewer.go
parentd22f2bf4d0a88b5a0e608e2cb2776e69eb1cd553 (diff)
downloadaerc-da1f014b7050195d7f3e6f849bc105d87efc227b.tar.gz
config: update default pager
Since aercs embedded terminal now behaves correctly, a messages contents are at the bottom of the pager by default, this has already sparked confusion as this is uncommon and not matching previous behaviour. Thanks: Stacy Harper <contact@stacyharper.net> Suggested-by: Tim Culverhouse <tim@timculverhouse.com> Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config/viewer.go')
-rw-r--r--config/viewer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/viewer.go b/config/viewer.go
index 091fb4b6..8ebe82a5 100644
--- a/config/viewer.go
+++ b/config/viewer.go
@@ -6,7 +6,7 @@ import (
)
type ViewerConfig struct {
- Pager string `ini:"pager" default:"less -R"`
+ Pager string `ini:"pager" default:"less -Rc"`
Alternatives []string `ini:"alternatives" default:"text/plain,text/html" delim:","`
ShowHeaders bool `ini:"show-headers"`
AlwaysShowMime bool `ini:"always-show-mime"`