diff options
author | Bence Ferdinandy <bence@ferdinandy.com> | 2022-12-15 10:19:21 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-12-15 20:31:55 +0100 |
commit | c381bbd4110031df32a5bbc3e3de8c5dc677a6e4 (patch) | |
tree | 0080949189d0eaafdd38bfbbbd9ba2450ca0feb3 /config/viewer.go | |
parent | 85bfa54baaca7530786c59c29a4acaac2698f656 (diff) | |
download | aerc-c381bbd4110031df32a5bbc3e3de8c5dc677a6e4.tar.gz |
reply: refactor close-on-reply setting to -c flag
Previously close-on-reply was implemented as a setting, making it
unflexible. Refactor so it is a flag to reply `:reply -c`.
Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config/viewer.go')
-rw-r--r-- | config/viewer.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/config/viewer.go b/config/viewer.go index d5e32ac8..c359f43b 100644 --- a/config/viewer.go +++ b/config/viewer.go @@ -15,7 +15,6 @@ type ViewerConfig struct { ParseHttpLinks bool `ini:"parse-http-links"` HeaderLayout [][]string `ini:"-"` KeyPassthrough bool `ini:"-"` - CloseOnReply bool `ini:"close-on-reply"` } func defaultViewerConfig() *ViewerConfig { @@ -30,7 +29,6 @@ func defaultViewerConfig() *ViewerConfig { {"Subject"}, }, ParseHttpLinks: true, - CloseOnReply: false, } } |