shiny-pancake/internal/gui/monitoring.go
2020-11-08 07:33:07 -06:00

19 lines
383 B
Go

package gui
func (g *Gui) startMonitoring() {
stop := make(chan int, 1)
g.state.stopChans["activeSessions"] = stop
go g.sessionPanel().monitoringSessions(g)
}
func (g *Gui) stopMonitoring() {
g.state.stopChans["activeSessions"] <- 1
}
/*func (g *Gui) updateTask() {
g.app.QueueUpdateDraw(func() {
g.caversPanel().setEntries(g) // REVIEW: Why is this just people ?
})
}*/