mirror of
https://github.com/taigrr/wtf
synced 2026-03-22 19:22:18 -07:00
Constantize the defaultFocus value for each module
This commit is contained in:
@@ -21,7 +21,7 @@ type Widget struct {
|
||||
// NewWidget creates a new instance of the widget
|
||||
func NewWidget(app *tview.Application, settings *Settings) *Widget {
|
||||
widget := Widget{
|
||||
TextWidget: view.NewTextWidget(app, settings.common, false),
|
||||
TextWidget: view.NewTextWidget(app, settings.common),
|
||||
|
||||
args: settings.args,
|
||||
cmd: settings.cmd,
|
||||
|
||||
Reference in New Issue
Block a user