test: Screen also checks 'special' when testing attribute equality

This commit is contained in:
AdnoC
2016-05-17 16:25:11 -04:00
parent 954aeafa89
commit e5eea7fa06
3 changed files with 15 additions and 13 deletions

View File

@@ -618,7 +618,8 @@ function Screen:_equal_attrs(a, b)
a.underline == b.underline and a.undercurl == b.undercurl and
a.italic == b.italic and a.reverse == b.reverse and
a.foreground == b.foreground and
a.background == b.background
a.background == b.background and
a.special == b.special
end
function Screen:_attr_index(attrs, attr)