From 89575b6c3063f902fc8a1f4b7c8f9457d760005d Mon Sep 17 00:00:00 2001 From: B4D_US3R Date: Sun, 4 Aug 2024 05:08:10 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BA=D1=80=D0=B0=D1=81=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=B1=D1=83=D0=BA=D0=BE=D0=B2=D1=8B,=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=B4=D0=B0=20=D0=BA=D1=80=D0=B0=D1=81=D0=B8=D0=B2?= =?UTF-8?q?=D1=8B=D0=B5=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index f7e0727..e057e25 100644 --- a/main.go +++ b/main.go @@ -110,11 +110,12 @@ func main() { user := GetUser() hostname := GetHostname() + ansiColor := GetAnsiColor() fmt.Printf("%v@%v\n", user, hostname) - fmt.Printf("\033[%vm%v\033[0m\n", GetAnsiColor(), GenBreaker(user, hostname)) - fmt.Printf("OS:\t%v\n", GetOsInfo()) - fmt.Printf("KERNEL:\t%v", GetKernelVersion()) - fmt.Printf("SHELL:\t%v\n", GetShell()) - fmt.Printf("UPTIME:\t%v\n", GetUptime()) + fmt.Printf("\033[%vm%v\033[0m\n", ansiColor, GenBreaker(user, hostname)) + fmt.Printf("\033[%vmOS\033[0m:\t%v\n", ansiColor, GetOsInfo()) + fmt.Printf("\033[%vmKERNEL\033[0m:\t%v", ansiColor, GetKernelVersion()) + fmt.Printf("\033[%vmSHELL\033[0m:\t%v\n", ansiColor, GetShell()) + fmt.Printf("\033[%vmUPTIME\033[0m:\t%v\n", ansiColor, GetUptime()) }