Skip to content

Commit

Permalink
feat: enable mouse actions when interact with lazysql terminal UI
Browse files Browse the repository at this point in the history
  • Loading branch information
LinPr committed Apr 20, 2024
1 parent 14e0513 commit beb5e9a
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 beb5e9a

Please sign in to comment.