feat: hide cursor

This commit is contained in:
Sebastian Mark 2024-10-23 13:58:17 +02:00
parent ef0f940343
commit d731fc3e52
3 changed files with 5 additions and 0 deletions

View file

@ -2,6 +2,7 @@ package notifications
import (
"ChronoTomato/internal/shared"
"atomicgo.dev/cursor"
"fmt"
"github.com/fatih/color"
"strings"
@ -12,6 +13,7 @@ func TerminalOutput() {
pomodoro := &shared.ServerMessage
cursor.Hide()
fmt.Print("\033[H\033[2J") // Clears the screen
color.Blue("Work: %d | Break: %d | Longbreak: %d\n\n",