use Style.setAttrs in Style.Normal
1 files changed, 1 insertions(+), 1 deletions(-)

M style.go
M style.go +1 -1
@@ 112,7 112,7 @@ func (s Style) setAttrs(attrs AttrMask, 
 
 // Normal returns the style with all attributes disabled.
 func (s Style) Normal() Style {
-	return s &^ Style(attrAll)
+	return s.setAttrs(attrAll, false)
 }
 
 // Bold returns a new style based on s, with the bold attribute set