fix: Terminal hidden=true — keep process alive across toggle
This commit is contained in:
parent
bf7bd9fe42
commit
977384ccda
|
|
@ -42,6 +42,7 @@ function M.open(cmd)
|
|||
local opts = {
|
||||
direction = tall and 'horizontal' or 'vertical',
|
||||
cmd = cmd,
|
||||
hidden = true, -- 隐藏时进程继续跑,toggle() 只切显隐
|
||||
}
|
||||
local sz = tall and config.size.horizontal or config.size.vertical
|
||||
if sz then
|
||||
|
|
|
|||
Loading…
Reference in New Issue