Enha: enable mouse switch

This commit is contained in:
Grail Finder
2026-01-13 00:50:38 +03:00
parent 9f61c6e793
commit ee8cff2b41
5 changed files with 11 additions and 1 deletions

View File

@@ -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
}