aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ui/ui.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ui/ui.go b/lib/ui/ui.go
index b057885..13b640b 100644
--- a/lib/ui/ui.go
+++ b/lib/ui/ui.go
@@ -32,7 +32,9 @@ func Initialize(conf *config.AercConfig,
screen.Clear()
screen.HideCursor()
- screen.EnableMouse()
+ if conf.Ui.MouseEnabled {
+ screen.EnableMouse()
+ }
width, height := screen.Size()