aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2023-11-12 14:46:03 -0500
committerGregory Anders <greg@gpanders.com>2023-11-13 19:04:47 -0600
commite7c46438ab118c138a7370a9976e45854c356a89 (patch)
tree4a6124f4b601fc806132b1c4318bcc9323966563 /test
parent8d9789a0f3b748b75ac4ae1b8e43d27af40d49fe (diff)
downloadrneovim-e7c46438ab118c138a7370a9976e45854c356a89.tar.gz
rneovim-e7c46438ab118c138a7370a9976e45854c356a89.tar.bz2
rneovim-e7c46438ab118c138a7370a9976e45854c356a89.zip
test: use ST terminator instead of BEL in OSC sequences
libtermkey does not interpret OSC sequences that end with a BEL (0x07) instead of an ST (0x1b 0x5c) terminator. This causes these tests to fail since the OSC response is now parsed via libtermkey. Change the tests to use the ST terminator to appease libtermkey.
Diffstat (limited to 'test')
-rw-r--r--test/functional/terminal/tui_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/terminal/tui_spec.lua b/test/functional/terminal/tui_spec.lua
index 682eb48a27..960870fb46 100644
--- a/test/functional/terminal/tui_spec.lua
+++ b/test/functional/terminal/tui_spec.lua
@@ -2557,7 +2557,7 @@ describe('TUI bg color', function()
|
{3:-- TERMINAL --} |
]])
- feed_data('\027]11;rgb:ffff/ffff/ffff\007')
+ feed_data('\027]11;rgb:ffff/ffff/ffff\027\\')
screen:expect{any='did OptionSet, yay!'}
feed_data(':echo "new_bg=".&background\n')
@@ -2610,7 +2610,7 @@ describe('TUI bg color', function()
]])
-- Send a background response with the Pt portion split.
feed_data('\027]11;rgba:ffff/fff')
- feed_data('f/ffff/8000\007')
+ feed_data('f/ffff/8000\027\\')
screen:expect{any='did OptionSet, yay!'}
feed_data(':echo "new_bg=".&background\n')
@@ -2643,7 +2643,7 @@ describe('TUI bg color', function()
|
{3:-- TERMINAL --} |
]])
- feed_data('\027]11;rgba:ffff/foo/ffff/8000\007')
+ feed_data('\027]11;rgba:ffff/foo/ffff/8000\027\\')
screen:expect_unchanged()
feed_data(':echo "new_bg=".&background\n')