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 {
|
if bold {
|
||||||
w.SetDisplayAttributes(fg, bg, DisplayBold)
|
w.SetDisplayAttributes(fg, bg, DisplayBold)
|
||||||
} else {
|
} else {
|
||||||
w.SetDisplayAttributes(fg, bg, DisplayDefaultFont)
|
w.SetDisplayAttributes(fg, bg, DisplayDefaultFont, DisplayReset)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user