From 4b0e2605eaf90268195029a29f10903dc82729e7 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 9 Feb 2025 22:04:33 +0100 Subject: feat(ui): UI :detach command Problem: Cannot detach the current UI. Solution: - Introduce `:detach`. - Introduce `Channel.detach`. Co-authored-by: bfredl --- test/functional/core/job_spec.lua | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'test/functional/core') diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua index e833b5127d..75e09f3455 100644 --- a/test/functional/core/job_spec.lua +++ b/test/functional/core/job_spec.lua @@ -1265,12 +1265,16 @@ describe('jobs', function() ]]) feed(':q') - screen:expect([[ - | - [Process exited 0]^ | - |*4 - {3:-- TERMINAL --} | - ]]) + if is_os('freebsd') then + screen:expect { any = vim.pesc('[Process exited 0]') } + else + screen:expect([[ + | + [Process exited 0]^ | + |*4 + {3:-- TERMINAL --} | + ]]) + end end) end) -- cgit