diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..5dd6387 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/neowofetch.iml b/.idea/neowofetch.iml new file mode 100644 index 0000000..5e764c4 --- /dev/null +++ b/.idea/neowofetch.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/utils/printing.go b/utils/printing.go index 02eb34f..1c6374b 100644 --- a/utils/printing.go +++ b/utils/printing.go @@ -163,7 +163,7 @@ func parseFormat(format string) (parsedFormat Format) { case "italic": parsedFormat.colorFormat += "\x1b[3m" case "bold": - parsedFormat.colorFormat += "\x1b1" + parsedFormat.colorFormat += "\033[1m" case "nouwu": parsedFormat.noUwuOverride = true case "*": @@ -229,7 +229,7 @@ func CutePrintEnd() { CuteNewLine() } if usepng { - fmt.Print("\x1b7") + fmt.Print("\x1b7") fmt.Printf("\x1b[%dA", logoIndex) fmt.Printf("\x1b]1337;File=inline=1;width=%d;height=%d:", pngWidth, pngHeight) enc := base64.NewEncoder(base64.StdEncoding, os.Stdout)