From 7bc229a603c99469d3f886b5e159be6a456c349c Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Mon, 9 Apr 2018 11:49:11 -0600 Subject: [PATCH] extra trailing spaces for negatives --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 6fcfb82..b877d30 100644 --- a/main.go +++ b/main.go @@ -137,10 +137,10 @@ func printTime(pRemains *time.Duration, target time.Duration, delim *rune, rever } at := fmt.Sprintf("%2d%c%02d%c%02d", hrs, byte(*delim), min, byte(*delim), seconds) rem := fmt.Sprintf("%2d%c%02d%c%02d", rHrs, tdelim, rMin, tdelim, rSec) - fmt.Printf("\rRemaining: %s\tAt: %s", rem, at) + fmt.Printf("\rRemaining: %s\tAt: %s\t\t", rem, at) } else { rem := fmt.Sprintf("%2d%c%02d%c%02d", hrs, byte(*delim), min, byte(*delim), seconds) - fmt.Printf("\rRemaining: %s", rem) + fmt.Printf("\rRemaining: %s\t\t", rem) if remains < 0 { go alertTime(pRemains, target, reverse) }