mirror of https://github.com/rivo/tview.git
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…
Reference in New Issue