test(tui_spec): improve cursor_address test (#21700)

This commit is contained in:
zeertzjq
2023-01-09 12:20:50 +08:00
committed by GitHub
parent a174f4e53f
commit c19bd47c0a
2 changed files with 44 additions and 42 deletions

View File

@@ -74,7 +74,10 @@ local function screen_setup(extra_rows, command, cols, opts)
[9] = {foreground = 4},
[10] = {foreground = 121}, -- "Press ENTER" in embedded :terminal session.
[11] = {foreground = tonumber('0x00000b')},
[12] = {reverse = true, foreground = tonumber('0x000079')},
[12] = {underline = true},
[13] = {underline = true, reverse = true},
[14] = {underline = true, reverse = true, bold = true},
[15] = {underline = true, foreground = 12},
})
screen:attach(opts or {rgb=false})