Compare commits
No commits in common. "5f65b9aa563ef3e4a6e2befa9a219d910baaacda" and "a03d27ae0f181a83d68783941a89d5ab56e8132f" have entirely different histories.
5f65b9aa56
...
a03d27ae0f
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
||||||
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)
|
channel := make(chan GoTomato.ServerMessage, 2)
|
||||||
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