Compare commits
2 commits
a03d27ae0f
...
5f65b9aa56
Author | SHA1 | Date | |
---|---|---|---|
5f65b9aa56 | |||
7459379950 |
2 changed files with 1 additions and 5 deletions
|
@ -1,9 +1,5 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
//// TODO
|
|
||||||
// - add progress bar (https://github.com/charmbracelet/bubbles?tab=readme-ov-file#progress)
|
|
||||||
// - add controls
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.smsvc.net/pomodoro/ChronoTomato/cmd/client"
|
"git.smsvc.net/pomodoro/ChronoTomato/cmd/client"
|
||||||
)
|
)
|
||||||
|
|
|
@ -37,7 +37,7 @@ func Start() {
|
||||||
|
|
||||||
conn := websocket.Connect(config.URL)
|
conn := websocket.Connect(config.URL)
|
||||||
|
|
||||||
channel := make(chan GoTomato.ServerMessage, 2)
|
channel := make(chan GoTomato.ServerMessage)
|
||||||
go websocket.ProcessServerMessages(conn, channel)
|
go websocket.ProcessServerMessages(conn, channel)
|
||||||
frontend.UpdateLoop(conn, config, channel)
|
frontend.UpdateLoop(conn, config, channel)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue