Merge pull request #85 from aphistic/master

Fix resetting display attributes on VT100 output
This commit is contained in:
Masashi SHIBATA 2018-10-20 14:26:28 +09:00 committed by GitHub
commit a85c58bf12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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