diff options
-rw-r--r-- | config/aerc.conf | 4 | ||||
-rw-r--r-- | config/viewer.go | 2 | ||||
-rw-r--r-- | doc/aerc-config.5.scd | 2 | ||||
-rw-r--r-- | widgets/msgviewer.go | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/config/aerc.conf b/config/aerc.conf index 800e6ec6..7d33b43d 100644 --- a/config/aerc.conf +++ b/config/aerc.conf @@ -338,8 +338,8 @@ # may add ANSI codes to add color to rendered emails, so you may want to use a # pager which supports ANSI codes. # -# Default: less -R -#pager=less -R +# Default: less -Rc +#pager=less -Rc # # If an email offers several versions (multipart), you can configure which 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"` diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd index aff57729..9e1f8a37 100644 --- a/doc/aerc-config.5.scd +++ b/doc/aerc-config.5.scd @@ -479,7 +479,7 @@ These options are configured in the *[viewer]* section of _aerc.conf_. may add ANSI escape sequences to add color to rendered emails, so you may want to use a pager which supports ANSI. - Default: _less -R_ + Default: _less -Rc_ *alternatives* = _<mime,types>_ If an email offers several versions (multipart), you can configure which 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 { |