aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-29 23:46:39 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-29 23:46:39 +0530
commitccb1cf8c1679d5e8a401a85151ef9882e4293b81 (patch)
tree1efaaf9cb62f9491cbc45c95048cd0a2004fffe6
parentd48bd9998de57d99d13c702b783d1c83cdd15629 (diff)
fixed font color not resetting for values
-rw-r--r--cmd/user_info.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/cmd/user_info.go b/cmd/user_info.go
index 46b2954..8b6463e 100644
--- a/cmd/user_info.go
+++ b/cmd/user_info.go
@@ -34,14 +34,14 @@ Currently, MyAnimeList doesn't allow reading of other users' profiles.
Run: func(cmd *cobra.Command, args []string) {
userInfo := mal.GetUserInfo()
- fmt.Printf("\x1b[1;34mUsername: %s\n\x1b[0m", userInfo.Name)
- fmt.Printf("\x1b[1;34mProfile Picture: %s\n\x1b[0m", userInfo.Picture)
- fmt.Printf("\x1b[1;34mGender: %s\n\x1b[0m", userInfo.Gender)
- fmt.Printf("\x1b[1;34mLocation: %s\n\x1b[0m", userInfo.Location)
- fmt.Printf("\x1b[1;34mBirthday: %s\n\x1b[0m", userInfo.Birthday)
- fmt.Printf("\x1b[1;34mTime Zone: %s\n\x1b[0m", userInfo.TimeZone)
- fmt.Printf("\x1b[1;34mJoined At: %s\n\x1b[0m", userInfo.JoinedAt)
- fmt.Printf("\x1b[1;34mUser ID: %d\n\x1b[0m", userInfo.Id)
+ fmt.Printf("\x1b[1;34mUsername: \x1b[0m%s\n", userInfo.Name)
+ fmt.Printf("\x1b[1;34mProfile Picture: \x1b[0m%s\n\x1b[0m", userInfo.Picture)
+ fmt.Printf("\x1b[1;34mGender: \x1b[0m%s\n", userInfo.Gender)
+ fmt.Printf("\x1b[1;34mLocation: \x1b[0m%s\n", userInfo.Location)
+ fmt.Printf("\x1b[1;34mBirthday: \x1b[0m%s\n", userInfo.Birthday)
+ fmt.Printf("\x1b[1;34mTime Zone: \x1b[0m%s\n", userInfo.TimeZone)
+ fmt.Printf("\x1b[1;34mJoined At: \x1b[0m%s\n", userInfo.JoinedAt)
+ fmt.Printf("\x1b[1;34mUser ID: \x1b[0m%d\n", userInfo.Id)
if userInfo.IsSupporter {
fmt.Printf("\x1b[33mYou are a MyAnimeList Supporter.\n\x1b[0m")