From e1984aca105943b93f42d0981111ad4fa9a6f56b Mon Sep 17 00:00:00 2001 From: Sebastian Mark Date: Wed, 23 Oct 2024 13:51:19 +0200 Subject: [PATCH] feat: enhance terminal output with help footer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - add footer to terminal output for better user guidance - show key bindings for start, pause/resume, stop, and quit 🤖 --- internal/notifications/terminal.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/notifications/terminal.go b/internal/notifications/terminal.go index 0717fa8..ff380de 100644 --- a/internal/notifications/terminal.go +++ b/internal/notifications/terminal.go @@ -3,6 +3,7 @@ package notifications import ( "ChronoTomato/internal/shared" "fmt" + "strings" ) func TerminalOutput() { @@ -36,4 +37,8 @@ func TerminalOutput() { } fmt.Printf(timerOutput) + + //footer + fmt.Printf(strings.Repeat("\n", 3)) + fmt.Printf("s: start • space: pause/resume • r: stop • q: quit") }