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
🤖
This commit is contained in:
parent
11c599a371
commit
4dcc984784
7 changed files with 107 additions and 9 deletions
7
internal/shared/state.go
Normal file
7
internal/shared/state.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
package shared
|
||||
|
||||
import (
|
||||
"git.smsvc.net/pomodoro/GoTomato/pkg/models"
|
||||
)
|
||||
|
||||
var ServerMessage models.ServerMessage
|
Loading…
Add table
Add a link
Reference in a new issue