From 56e9b3e3fe5094b5b106544519c7f9ae36ebccdc Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Sat, 30 Jul 2022 17:27:26 +0200 Subject: [PATCH] Even more formatting --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index ea81aaa..88e0eab 100644 --- a/main.go +++ b/main.go @@ -106,7 +106,7 @@ func Cast(dieSurfaces, castAmount int) { fmt.Println("\tWithout modifier:", total) fmt.Println(Color(ColorGreen), "\tWith modifier:", total+modifier, Color(ColorReset)) } else { - fmt.Println(Color(ColorGreen), "\t", total, Color(ColorReset)) + fmt.Printf("%s\t%d%s\n", Color(ColorGreen), total, Color(ColorReset)) } }