Skip to content

Commit 9ddd6aa

Browse files
committed
Handled Bold color in Windows
1 parent 92d0684 commit 9ddd6aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)