test: clear(): remove opts.headless parameter

Callers can instead specify `args_rm={'--headless'}`.

TODO: should `nvim_argv` have "--headless" by default? Need to inspect
      some uses of spawn(nvim_argv) ...
This commit is contained in:
Justin M. Keyes
2019-04-17 01:38:59 +02:00
parent 17291642bd
commit 698c4f662d
5 changed files with 6 additions and 12 deletions

View File

@@ -11,7 +11,7 @@ describe('ext_multigrid', function()
local screen
before_each(function()
clear{headless=false, args={'--cmd', 'set laststatus=2'}}
clear{args_rm={'--headless'}, args={'--cmd', 'set laststatus=2'}}
screen = Screen.new(53,14)
screen:attach({ext_multigrid=true})
screen:set_default_attr_ids({