Commit graph

13 commits

Author SHA1 Message Date
bbc9977f1c feat: refactor shared.Message to a channel
- remove `shared` package and shared.Message
- rename `notifications` package to `frontend`
- introduce a channel send the received ServerMessages to the frontend handler(s)
- move keyhandler to goroutine
- simplify password handling in Start function
- update import names when importing from GoTomoto
2024-10-27 22:33:30 +01:00
77eeb087e3 feat: add state icons for start/paused/stoppped 2024-10-24 19:16:57 +02:00
deff8f3554 feat: move cursor.Hide() to main
- hide cursor at the start of the client
- ensure cursor is shown again after client execution

🤖
2024-10-23 21:21:23 +02:00
064056e8cb feat: update module path
- modify go.mod to reflect the new module path
- update config file path in the main function
- adjust import statements in various internal packages
- add install instructions to README

🤖
2024-10-23 21:21:23 +02:00
46d3e02f33 feat: instroduce reset command
- change stop command from 'r' to 's' for better clarity
- add reset command 'r' to the terminal help
- ensure pomodoro settings are sent correctly on reset command

🤖
2024-10-23 21:21:23 +02:00
25e939f523 feat: make header beautiful 2024-10-23 17:45:47 +02:00
57084c524e fix: correct help message text 2024-10-23 17:45:18 +02:00
d731fc3e52 feat: hide cursor 2024-10-23 17:45:18 +02:00
ef0f940343 feat: add color output to terminal
- add color package for improved terminal output
- update terminal output to use colored text

🤖
2024-10-23 17:45:18 +02:00
98013780da feat: refactor to use local pointer for ServerMessage
- replace `shared.ServerMessage` with local pomodoro pointer
- update conditions to use `pomodoro` instead of `shared.ServerMessage`

🤖
2024-10-23 17:45:18 +02:00
e1984aca10 feat: enhance terminal output with help footer
- add footer to terminal output for better user guidance
- show key bindings for start, pause/resume, stop, and quit

🤖
2024-10-23 17:45:18 +02:00
4dcc984784 feat: add keyboard controls
- add keyboard listener for space, r, and q keys
- create shared state for server messages
- update desktop and terminal notifications to use shared state

🤖
2024-10-23 17:43:47 +02:00
11c599a371 Genesis 2024-10-23 17:43:44 +02:00