wtfutil / wtf

The personal information dashboard for your terminal
http://wtfutil.com
Mozilla Public License 2.0
15.89k stars 805 forks source link

textwidget.tpl is out of date #1432

Closed dherbst closed 1 year ago

dherbst commented 1 year ago

What's broken?

Follow the instructions for creating a new module:

WTF_WIDGET_NAME=yy go run generator/textwidget.go
(edit the app/widgetmaker.go file)
make
modules/yy/widget.go:18:51: not enough arguments in call to view.NewTextWidget
    have (*tview.Application, *tview.Pages, *cfg.Common)
    want (*tview.Application, chan bool, *tview.Pages, *cfg.Common)

PR https://github.com/wtfutil/wtf/pull/1431 includes an update for textwidget.tpl to add the missing parameter.

senorprogrammer commented 1 year ago

Fixed by https://github.com/wtfutil/wtf/pull/1431 - thanks!