Delete unnecessary color setting

This commit is contained in:
c-bata 2018-02-18 22:31:41 +09:00
parent c6186541a9
commit 92ad4eeeb0

View File

@ -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})