diff --git a/tests/kitty-scrollback/kitty_scrollback_config_demo_03_spec.lua b/tests/kitty-scrollback/kitty_scrollback_config_demo_03_spec.lua index 103c4983..1a49db5b 100644 --- a/tests/kitty-scrollback/kitty_scrollback_config_demo_03_spec.lua +++ b/tests/kitty-scrollback/kitty_scrollback_config_demo_03_spec.lua @@ -95,7 +95,7 @@ describe('kitty-scrollback.nvim', function() }) h.assert_screen_equals( h.feed_kitty({ - h.with_pause_seconds_before(h.send_without_newline([[a]])), + h.with_pause_seconds_before(h.send_without_newline([[a]]), 2), h.send_without_newline(h.send_as_string([[ # example > --config ksb_example_highlight_overrides Custom KittyScrollbackNvim highlight overrides @@ -147,7 +147,7 @@ $🭼▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ h.feed_kitty({ h.send_without_newline([[VG]]), h.with_pause_seconds_before(h.send_without_newline(h.esc())), - h.with_pause_seconds_before(h.send_without_newline(h.esc())), + h.with_pause_seconds_before([[:quit]]), h.send_without_newline([[V15k]]), h.send_without_newline(h.with_pause_seconds_before(nil, 2)), }), @@ -254,7 +254,7 @@ $🭼▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ h.feed_kitty({ h.send_without_newline([[VG]]), h.with_pause_seconds_before(h.send_without_newline(h.esc())), - h.with_pause_seconds_before(h.send_without_newline(h.esc())), + h.with_pause_seconds_before([[:quit]]), h.send_without_newline([[V15k]]), h.send_without_newline(h.with_pause_seconds_before(nil, 2)), }), diff --git a/tests/kitty-scrollback/kitty_scrollback_spec.lua b/tests/kitty-scrollback/kitty_scrollback_spec.lua index b70c3cce..dc9e9877 100644 --- a/tests/kitty-scrollback/kitty_scrollback_spec.lua +++ b/tests/kitty-scrollback/kitty_scrollback_spec.lua @@ -460,7 +460,7 @@ $ ) h.assert_screen_equals( h.feed_kitty({ - h.send_without_newline(h.esc()), + [[:quit]], }), { stdout = [[