mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
fixed comment
This commit is contained in:
parent
e00a0a81a0
commit
2c4cf578ae
2
wtf.go
2
wtf.go
@ -121,7 +121,7 @@ func watchForConfigChanges(app *tview.Application, configFlag string, grid *tvie
|
|||||||
select {
|
select {
|
||||||
case <-watch.Event:
|
case <-watch.Event:
|
||||||
loadConfig(configFlag)
|
loadConfig(configFlag)
|
||||||
// Disable all widgets to stop scheduler goroutines and widgets from memory.
|
// Disable all widgets to stop scheduler goroutines and rmeove widgets from memory.
|
||||||
disableAllWidgets()
|
disableAllWidgets()
|
||||||
makeWidgets(app, pages)
|
makeWidgets(app, pages)
|
||||||
grid = buildGrid(Widgets)
|
grid = buildGrid(Widgets)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user