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
8
.idea/.gitignore
vendored
Normal file
8
.idea/.gitignore
vendored
Normal file
|
@ -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
|
8
.idea/modules.xml
Normal file
8
.idea/modules.xml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/neowofetch.iml" filepath="$PROJECT_DIR$/.idea/neowofetch.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
9
.idea/neowofetch.iml
Normal file
9
.idea/neowofetch.iml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="Go" enabled="true" />
|
||||||
|
<component name="NewModuleRootManager">
|
||||||
|
<content url="file://$MODULE_DIR$" />
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -163,7 +163,7 @@ func parseFormat(format string) (parsedFormat Format) {
|
||||||
case "italic":
|
case "italic":
|
||||||
parsedFormat.colorFormat += "\x1b[3m"
|
parsedFormat.colorFormat += "\x1b[3m"
|
||||||
case "bold":
|
case "bold":
|
||||||
parsedFormat.colorFormat += "\x1b1"
|
parsedFormat.colorFormat += "\033[1m"
|
||||||
case "nouwu":
|
case "nouwu":
|
||||||
parsedFormat.noUwuOverride = true
|
parsedFormat.noUwuOverride = true
|
||||||
case "*":
|
case "*":
|
||||||
|
@ -229,7 +229,7 @@ func CutePrintEnd() {
|
||||||
CuteNewLine()
|
CuteNewLine()
|
||||||
}
|
}
|
||||||
if usepng {
|
if usepng {
|
||||||
fmt.Print("\x1b7")
|
fmt.Print("\x1b7")
|
||||||
fmt.Printf("\x1b[%dA", logoIndex)
|
fmt.Printf("\x1b[%dA", logoIndex)
|
||||||
fmt.Printf("\x1b]1337;File=inline=1;width=%d;height=%d:", pngWidth, pngHeight)
|
fmt.Printf("\x1b]1337;File=inline=1;width=%d;height=%d:", pngWidth, pngHeight)
|
||||||
enc := base64.NewEncoder(base64.StdEncoding, os.Stdout)
|
enc := base64.NewEncoder(base64.StdEncoding, os.Stdout)
|
||||||
|
|
Loading…
Reference in a new issue