feat: hide cursor
This commit is contained in:
parent
ef0f940343
commit
d731fc3e52
3 changed files with 5 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue