aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/screen.lua
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2022-03-02 00:48:11 +0300
committerKirill Chibisov <contact@kchibisov.com>2022-03-03 23:35:36 +0300
commitf89fb41a7a8b499159bfa44afa26dd17a845af45 (patch)
treeb5ccba78e1a2a03723a0a4c4c6409ac246224c2f /test/functional/ui/screen.lua
parent7211d8ef21cd93365c5f0582c5a0115e84c011ce (diff)
downloadrneovim-f89fb41a7a8b499159bfa44afa26dd17a845af45.tar.gz
rneovim-f89fb41a7a8b499159bfa44afa26dd17a845af45.tar.bz2
rneovim-f89fb41a7a8b499159bfa44afa26dd17a845af45.zip
feat(tui): add support for `CSI 4 : [2,4,5] m`
This commit finishes support for colored and styled underlines adding `CSI 4 : [2,4,5] m` support providing double, dashed, and dotted underlines Fixes #17362.
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r--test/functional/ui/screen.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua
index a5af898652..3e94fdbf44 100644
--- a/test/functional/ui/screen.lua
+++ b/test/functional/ui/screen.lua
@@ -1559,10 +1559,11 @@ end
function Screen:_equal_attrs(a, b)
return a.bold == b.bold and a.standout == b.standout and
- 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 and
- a.special == b.special and a.blend == b.blend and
+ a.underline == b.underline and a.underlineline == b.underlineline and
+ a.undercurl == b.undercurl and a.underdot == b.underdot and
+ a.underdash == b.underdash and a.italic == b.italic and
+ a.reverse == b.reverse and a.foreground == b.foreground and
+ a.background == b.background and a.special == b.special and a.blend == b.blend and
a.strikethrough == b.strikethrough and
a.fg_indexed == b.fg_indexed and a.bg_indexed == b.bg_indexed
end