diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ui/ui.go | 4 |
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() |