mirror of
https://github.com/rivo/tview.git
synced 2025-04-24 13:48:56 +08:00
Enabling mouse on Autocomplete demos.
This commit is contained in:
parent
02e38ea960
commit
9c04916f4e
@ -33,7 +33,7 @@ func main() {
|
||||
}
|
||||
return
|
||||
})
|
||||
if err := app.SetRoot(inputField, true).Run(); err != nil {
|
||||
if err := app.EnableMouse(true).SetRoot(inputField, true).Run(); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ func main() {
|
||||
return nil
|
||||
})
|
||||
|
||||
if err := app.SetRoot(inputField, true).Run(); err != nil {
|
||||
if err := app.EnableMouse(true).SetRoot(inputField, true).Run(); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user