Merge pull request #85 from aphistic/master
Fix resetting display attributes on VT100 output
This commit is contained in:
commit
a85c58bf12
|
@ -236,7 +236,7 @@ func (w *VT100Writer) SetColor(fg, bg Color, bold bool) {
|
|||
if bold {
|
||||
w.SetDisplayAttributes(fg, bg, DisplayBold)
|
||||
} else {
|
||||
w.SetDisplayAttributes(fg, bg, DisplayDefaultFont)
|
||||
w.SetDisplayAttributes(fg, bg, DisplayDefaultFont, DisplayReset)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue