From beb5e9aaab525c25ef307ff6e1beafbdb5698ee4 Mon Sep 17 00:00:00 2001 From: LinPr <314573849@qq.com> Date: Sat, 20 Apr 2024 23:08:17 +0800 Subject: [PATCH] feat: enable mouse actions when interact with lazysql terminal UI --- main.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 9d70884..25f3a34 100644 --- a/main.go +++ b/main.go @@ -13,7 +13,10 @@ import ( func main() { mysql.SetLogger(log.New(io.Discard, "", 0)) - if err := app.App.SetRoot(components.MainPages, true).Run(); err != nil { + if err := app.App. + SetRoot(components.MainPages, true). + EnableMouse(true). + Run(); err != nil { panic(err) } }