Delete unnecessary color setting
This commit is contained in:
parent
c6186541a9
commit
92ad4eeeb0
|
@ -257,7 +257,6 @@ func (w *PosixWriter) SetColor(fg, bg Color, bold bool) {
|
|||
if !ok {
|
||||
b = backgroundANSIColors[DefaultColor]
|
||||
}
|
||||
syscall.Write(syscall.Stdout, []byte{0x1b, 0x5b, 0x33, 0x39, 0x3b, 0x34, 0x39, 0x6d})
|
||||
w.WriteRaw([]byte{0x1b, 0x5b})
|
||||
if !bold {
|
||||
w.WriteRaw([]byte{0x30, 0x3b})
|
||||
|
|
Loading…
Reference in New Issue