19 lines
383 B
Go
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 ?
|
|
})
|
|
}*/
|