mirror of
https://github.com/go-task/task.git
synced 2025-01-26 05:27:15 +02:00
Remove bold from colored text
This commit is contained in:
parent
62752ba7e1
commit
1d3b93d88d
@ -10,13 +10,12 @@ type PrintFunc func(io.Writer, string, ...interface{})
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
Default PrintFunc = color.New(color.Reset).FprintfFunc()
|
Default PrintFunc = color.New(color.Reset).FprintfFunc()
|
||||||
Bold PrintFunc = color.New(color.Bold).FprintfFunc()
|
Blue PrintFunc = color.New(color.FgBlue).FprintfFunc()
|
||||||
Blue PrintFunc = color.New(color.FgBlue, color.Bold).FprintfFunc()
|
Green PrintFunc = color.New(color.FgGreen).FprintfFunc()
|
||||||
Green PrintFunc = color.New(color.FgGreen, color.Bold).FprintfFunc()
|
Cyan PrintFunc = color.New(color.FgCyan).FprintfFunc()
|
||||||
Cyan PrintFunc = color.New(color.FgCyan, color.Bold).FprintfFunc()
|
Yellow PrintFunc = color.New(color.FgYellow).FprintfFunc()
|
||||||
Yellow PrintFunc = color.New(color.FgYellow, color.Bold).FprintfFunc()
|
Magenta PrintFunc = color.New(color.FgMagenta).FprintfFunc()
|
||||||
Magenta PrintFunc = color.New(color.FgMagenta, color.Bold).FprintfFunc()
|
Red PrintFunc = color.New(color.FgRed).FprintfFunc()
|
||||||
Red PrintFunc = color.New(color.FgRed, color.Bold).FprintfFunc()
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Logger is just a wrapper that prints stuff to STDOUT or STDERR,
|
// Logger is just a wrapper that prints stuff to STDOUT or STDERR,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user