summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 9e619a8..c375d95 100644
--- a/main.go
+++ b/main.go
@@ -32,7 +32,7 @@ func main() {
}
pages.AddPage("main", flex, true, true)
if err := app.SetRoot(pages,
- true).EnableMouse(true).EnablePaste(true).Run(); err != nil {
+ true).EnableMouse(cfg.EnableMouse).EnablePaste(true).Run(); err != nil {
logger.Error("failed to start tview app", "error", err)
return
}