diff options
Diffstat (limited to 'test/functional/terminal/tui_spec.lua')
-rw-r--r-- | test/functional/terminal/tui_spec.lua | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/test/functional/terminal/tui_spec.lua b/test/functional/terminal/tui_spec.lua index 365bd2a0be..1b4441f25f 100644 --- a/test/functional/terminal/tui_spec.lua +++ b/test/functional/terminal/tui_spec.lua @@ -134,15 +134,17 @@ describe('tui', function() feed_data('\022\007') -- ctrl+g feed_data('\022\022') -- ctrl+v feed_data('\022\013') -- ctrl+m + local attrs = screen:get_default_attr_ids() + attrs[11] = {foreground = 81} screen:expect([[ - {9:^G^V^M}{1: } | + {11:^G^V^M}{1: } | {4:~ }| {4:~ }| {4:~ }| {5:[No Name] [+] }| {3:-- INSERT --} | {3:-- TERMINAL --} | - ]]) + ]], attrs) end) it('automatically sends <Paste> for bracketed paste sequences', function() @@ -205,14 +207,14 @@ describe('tui', function() screen:set_option('rgb', true) screen:set_default_attr_ids({ [1] = {reverse = true}, - [2] = {foreground = 13, special = Screen.colors.Grey0}, - [3] = {bold = true, reverse = true, special = Screen.colors.Grey0}, + [2] = {foreground = 13}, + [3] = {bold = true, reverse = true}, [4] = {bold = true}, - [5] = {special = Screen.colors.Grey0, reverse = true, foreground = 4}, - [6] = {foreground = 4, special = Screen.colors.Grey0}, - [7] = {special = Screen.colors.Grey0, reverse = true, foreground = Screen.colors.SeaGreen4}, - [8] = {foreground = Screen.colors.SeaGreen4, special = Screen.colors.Grey0}, - [9] = {special = Screen.colors.Grey0, bold = true, foreground = Screen.colors.Blue1}, + [5] = {reverse = true, foreground = 4}, + [6] = {foreground = 4}, + [7] = {reverse = true, foreground = Screen.colors.SeaGreen4}, + [8] = {foreground = Screen.colors.SeaGreen4}, + [9] = {bold = true, foreground = Screen.colors.Blue1}, }) feed_data(':hi SpecialKey ctermfg=3 guifg=SeaGreen\n') |