Skip to content

Commit

Permalink
Merge pull request #51 from LinPr/dev
Browse files Browse the repository at this point in the history
feat: enable mouse actions when interact with lazysql terminal UI
  • Loading branch information
jorgerojas26 committed Apr 20, 2024
2 parents 14e0513 + beb5e9a commit 62a2c36
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

0 comments on commit 62a2c36

Please sign in to comment.