restored 'multiprocess=true' as default (hopefully for the last time)

main
bhagwan 2 years ago
parent 058a01f8d1
commit 1a98c8919d

@ -162,7 +162,7 @@ M.globals.files = {
previewer = M._default_previewer_fn,
prompt = '> ',
cmd = nil, -- default: auto detect find|fd
multiprocess = false,
multiprocess = true,
file_icons = true and M._has_devicons,
color_icons = true,
git_icons = true,
@ -240,7 +240,7 @@ M.globals.grep = {
prompt = 'Rg> ',
input_prompt = 'Grep For> ',
cmd = nil, -- default: auto detect rg|grep
multiprocess = false,
multiprocess = true,
file_icons = true and M._has_devicons,
color_icons = true,
git_icons = true,

@ -290,7 +290,6 @@ M.spawn_stdio = function(opts, fn_transform, fn_preprocess)
-- run the preprocessing fn
if fn_preprocess then fn_preprocess(opts) end
-- print(uv.os_getpid(), ":", opts.cmd, opts.cwd)
local stderr, stdout = nil, nil
local function exit(exit_code, msg)
@ -327,7 +326,7 @@ M.spawn_stdio = function(opts, fn_transform, fn_preprocess)
-- <C-c> err will be either EPIPE or ECANCELED
-- don't really need to do anything since the
-- processs will be killed anyways with os.exit()
if err then print("write err:", err) end
if err then io.stderr:write("pipe:write Error: "..err) end
if cb then cb(err) end
end)
end

Loading…
Cancel
Save