we're so back (fixed bold escape character)
This commit is contained in:
parent
92686ec52d
commit
f9b371f83b
5 changed files with 33 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue