From b83e7c9fa6a0d187a0f20d98d522cff792053cdd Mon Sep 17 00:00:00 2001 From: Yash Srivastav Date: Fri, 7 Jun 2019 13:56:14 +0530 Subject: implements ability to view headers in message view --- config/aerc.conf.in | 7 +++++++ config/config.go | 1 + 2 files changed, 8 insertions(+) (limited to 'config') diff --git a/config/aerc.conf.in b/config/aerc.conf.in index 090e624..0bf114f 100644 --- a/config/aerc.conf.in +++ b/config/aerc.conf.in @@ -44,6 +44,13 @@ pager=less -R # Default: text/plain,text/html alternatives=text/plain,text/html +# +# Default setting to determine whether to show full headers or only parsed +# ones in message viewer. +# +# Default: false +show-headers=false + [compose] # # Specifies the command to run the editor with. It will be shown in an embedded diff --git a/config/config.go b/config/config.go index 889a63d..3b7edbb 100644 --- a/config/config.go +++ b/config/config.go @@ -72,6 +72,7 @@ type FilterConfig struct { type ViewerConfig struct { Pager string Alternatives []string + ShowHeaders bool `ini:"show-headers"` } type AercConfig struct { -- cgit v1.2.3