aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/msgviewer.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 /widgets/msgviewer.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 'widgets/msgviewer.go')
-rw-r--r--widgets/msgviewer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go
index 684c99cb..6752fbff 100644
--- a/widgets/msgviewer.go
+++ b/widgets/msgviewer.go
@@ -549,7 +549,7 @@ func NewPartViewer(
cmds := []string{
config.Viewer.Pager,
os.Getenv("PAGER"),
- "less -R",
+ "less -Rc",
}
pagerCmd, err := acct.aerc.CmdFallbackSearch(cmds)
if err != nil {