diff options
-rw-r--r-- | test/functional/ui/output_spec.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/ui/output_spec.lua b/test/functional/ui/output_spec.lua index 6d24a3c9ff..c58bbe9147 100644 --- a/test/functional/ui/output_spec.lua +++ b/test/functional/ui/output_spec.lua @@ -21,6 +21,7 @@ describe("shell command :!", function() end) after_each(function() + child_session.feed_data("\3") -- Ctrl-C screen:detach() end) @@ -29,12 +30,12 @@ describe("shell command :!", function() -- to avoid triggering a UI flush. child_session.feed_data(":!printf foo; sleep 200\n") screen:expect([[ - {1: } | - {4:~ }| {4:~ }| {4:~ }| {5:[No Name] }| + :!printf foo; sleep 200 | | + foo | {3:-- TERMINAL --} | ]]) end) |