aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/aerc.conf.in5
-rw-r--r--config/config.go2
2 files changed, 7 insertions, 0 deletions
diff --git a/config/aerc.conf.in b/config/aerc.conf.in
index f63c15a0..41f4ce6d 100644
--- a/config/aerc.conf.in
+++ b/config/aerc.conf.in
@@ -32,6 +32,11 @@ empty-message=(no messages)
# Default: (no folders)
empty-dirlist=(no folders)
+# Enable mouse events in the ui, e.g. clicking and scrolling with the mousewheel
+#
+# Default: false
+mouse-enabled=false
+
[viewer]
#
# Specifies the pager to use when displaying emails. Note that some filters
diff --git a/config/config.go b/config/config.go
index 89d2b498..aab3905a 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