aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ui/ui.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ui/ui.go')
-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 b0578852..13b640b4 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()