summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorAlexey Yerin <yyp@disroot.org>2021-04-27 21:22:35 +0300
committerHubert Hirtz <hubert@hirtz.pm>2021-04-28 10:13:54 +0200
commitb455cc9ad7694268346e26fc44a7f6cd7524e877 (patch)
tree271bdf9fded36b54393dc8ce35b7b9cff0473286 /config.go
parentMake sure app.s is not nil when issuing quit (diff)
Make mouse support optional
To not break existing users, mouse is enabled by default but you have an option to disable it with "mouse: false" in your /.confg/senpai/senpai.yaml.
Diffstat (limited to 'config.go')
-rw-r--r--config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.go b/config.go
index dde65de..fcd4cc3 100644
--- a/config.go
+++ b/config.go
@@ -16,6 +16,7 @@ type Config struct {
NoTLS bool `yaml:"no-tls"`
NoTypings bool `yaml:"no-typings"`
+ Mouse *bool
Highlights []string
OnHighlight string `yaml:"on-highlight"`