diff options
author | Jeffas <dev@jeffas.io> | 2019-07-16 19:06:22 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-07-17 16:00:44 -0400 |
commit | 06af5391a37f5bb59571a641ad832e45d8f39f1e (patch) | |
tree | fcfe7d7a5ce5deb7d725031c82c756df7c3dbcba /config/config.go | |
parent | 8534720e724f4fd38c7ef4fed1e95bc10aa08bfa (diff) | |
download | aerc-06af5391a37f5bb59571a641ad832e45d8f39f1e.zip |
Add MouseEnabled config setting
This patch adds the ability to control whether aerc captures mouseevents
or not. By default it will be set to not capture events.
Diffstat (limited to 'config/config.go')
-rw-r--r-- | config/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go index 89d2b49..aab3905 100644 --- a/config/config.go +++ b/config/config.go @@ -31,6 +31,7 @@ type UIConfig struct { PreviewHeight int `ini:"preview-height"` EmptyMessage string `ini:"empty-message"` EmptyDirlist string `ini:"empty-dirlist"` + MouseEnabled bool `ini:"mouse-enabled"` } const ( @@ -320,6 +321,7 @@ func LoadConfigFromFile(root *string, sharedir string) (*AercConfig, error) { PreviewHeight: 12, EmptyMessage: "(no messages)", EmptyDirlist: "(no folders)", + MouseEnabled: false, }, } // These bindings are not configurable |