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