From baf93d96063ceab109ecf16046a51e861a9c2c26 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Tue, 5 Feb 2019 16:17:23 +0100 Subject: UI: always use contrete colors for default_colors_set But add an escape hatch needed for external TUI, so it still can use terminal emulator defaults. --- test/functional/terminal/tui_spec.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/functional/terminal/tui_spec.lua') diff --git a/test/functional/terminal/tui_spec.lua b/test/functional/terminal/tui_spec.lua index cc6ce30038..f1ad2bdb95 100644 --- a/test/functional/terminal/tui_spec.lua +++ b/test/functional/terminal/tui_spec.lua @@ -256,13 +256,13 @@ describe('TUI', function() end) it('shows up in nvim_list_uis', function() - feed_data(':echo map(nvim_list_uis(), {k,v -> sort(items(v))})\013') + feed_data(':echo map(nvim_list_uis(), {k,v -> sort(items(filter(v, {k,v -> k[:3] !=# "ext_" })))})\013') screen:expect([=[ - [[['ext_cmdline', v:false], ['ext_hlstate', v:fals| - e], ['ext_linegrid', v:true], ['ext_multigrid', v:| - false], ['ext_popupmenu', v:false], ['ext_tabline'| - , v:false], ['ext_wildmenu', v:false], ['height', | - 6], ['rgb', v:false], ['width', 50]]] | + | + {4:~ }| + {5: }| + [[['height', 6], ['rgb', v:false], ['width', 50]]]| + | {10:Press ENTER or type command to continue}{1: } | {3:-- TERMINAL --} | ]=]) -- cgit