mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Simplify the view loading for the keyboard widget
Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
@@ -33,7 +33,6 @@ func NewWidget(app *tview.Application, pages *tview.Pages, settings *Settings) *
|
||||
widget.SetRenderFunction(widget.Render)
|
||||
widget.View.SetScrollable(true)
|
||||
widget.View.SetRegions(true)
|
||||
widget.KeyboardWidget.SetView(widget.View)
|
||||
widget.initializeKeyboardControls()
|
||||
widget.Selected = -1
|
||||
widget.SetItemCount(0)
|
||||
|
||||
Reference in New Issue
Block a user