Skip to content

Commit fc49f7b

Browse files
authored
Merge pull request #3 from kawsark/master
Added Orange and Bold colors
2 parents 9de25ea + 9ddd6aa commit fc49f7b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

color.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package color
22

33
var (
44
Reset = "\033[0m"
5+
Bold = "\033[1m"
56
Red = "\033[31m"
67
Green = "\033[32m"
78
Yellow = "\033[33m"

color_windows.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ func init() {
1515
// If it fails, fallback to no colors
1616
if _, _, err := setConsoleModeProc.Call(uintptr(handle), 0x0001|0x0002|0x0004); err != nil && err.Error() != "The operation completed successfully." {
1717
Reset = ""
18+
Bold = ""
1819
Red = ""
1920
Green = ""
2021
Yellow = ""

0 commit comments

Comments
 (0)