mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
clear widgets after live-reloading
This commit is contained in:
2
wtf.go
2
wtf.go
@@ -203,6 +203,8 @@ func addWidget(app *tview.Application, pages *tview.Pages, widgetName string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func makeWidgets(app *tview.Application, pages *tview.Pages) {
|
func makeWidgets(app *tview.Application, pages *tview.Pages) {
|
||||||
|
Widgets = []wtf.Wtfable{}
|
||||||
|
|
||||||
// Always in alphabetical order
|
// Always in alphabetical order
|
||||||
bamboohr.Config = Config
|
bamboohr.Config = Config
|
||||||
bittrex.Config = Config
|
bittrex.Config = Config
|
||||||
|
|||||||
Reference in New Issue
Block a user