From 24da6ce0834992ccf1bce1bdf8e1204e873cbcfc Mon Sep 17 00:00:00 2001 From: CapCreeperGR Date: Sun, 9 Jun 2024 10:30:55 +0300 Subject: [PATCH] Removed extra new lines at the end of the output --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 45d98d9..dee803f 100644 --- a/main.go +++ b/main.go @@ -183,7 +183,8 @@ func readConfig() { } final += lastAsciiColor + line + "\n" } - fmt.Println(final + "\033[0m") + final = strings.TrimSpace(final) + fmt.Print(final + "\033[0m") } func SetupFetchEnv() []string {