summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-01-13 00:50:38 +0300
committerGrail Finder <wohilas@gmail.com>2026-01-13 00:50:38 +0300
commitee8cff2b41ebee97c2e091f883a01246d4a5decc (patch)
treee18fedd3cc6fe61a9a27066c6adafb9ef676b20e /main.go
parent9f61c6e79368085cd512ff61570b75926c126fe6 (diff)
Enha: enable mouse switch
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
}