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

🤖
This commit is contained in:
Sebastian Mark 2024-10-23 13:51:19 +02:00
parent 4dcc984784
commit e1984aca10

View file

@ -3,6 +3,7 @@ package notifications
import ( import (
"ChronoTomato/internal/shared" "ChronoTomato/internal/shared"
"fmt" "fmt"
"strings"
) )
func TerminalOutput() { func TerminalOutput() {
@ -36,4 +37,8 @@ func TerminalOutput() {
} }
fmt.Printf(timerOutput) fmt.Printf(timerOutput)
//footer
fmt.Printf(strings.Repeat("\n", 3))
fmt.Printf("s: start • space: pause/resume • r: stop • q: quit")
} }