Skip to content

Commit

Permalink
we're so back (fixed bold escape character)
Browse files Browse the repository at this point in the history
  • Loading branch information
exhq committed Feb 26, 2024
1 parent 92686ec commit f9b371f
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/neowofetch.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions utils/printing.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 "*":
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit f9b371f

Please sign in to comment.