aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-10-02 03:43:39 +0200
committerGitHub <noreply@github.com>2019-10-02 03:43:39 +0200
commite63fdf63ba057877573dbb3171a8c7ae698cf1bc (patch)
tree28baa93d934b2574883e0640e3ebce6394039e0f /test/functional/terminal
parent60b56ed458c6b35d5045959192b49da5a0ea84f3 (diff)
parenteef3809067ae0f613e30b711ef720415c7016381 (diff)
downloadrneovim-e63fdf63ba057877573dbb3171a8c7ae698cf1bc.tar.gz
rneovim-e63fdf63ba057877573dbb3171a8c7ae698cf1bc.tar.bz2
rneovim-e63fdf63ba057877573dbb3171a8c7ae698cf1bc.zip
Merge pull request #11133 from blueyed/backports
[release-0.4] backports
Diffstat (limited to 'test/functional/terminal')
-rw-r--r--test/functional/terminal/tui_spec.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/functional/terminal/tui_spec.lua b/test/functional/terminal/tui_spec.lua
index c55093cb0f..5c871f1294 100644
--- a/test/functional/terminal/tui_spec.lua
+++ b/test/functional/terminal/tui_spec.lua
@@ -578,6 +578,23 @@ describe('TUI', function()
]])
end)
+ it('paste: less-than sign in cmdline #11088', function()
+ local expected = '<'
+ feed_data(':')
+ wait_for_mode('c')
+ -- "bracketed paste"
+ feed_data('\027[200~'..expected..'\027[201~')
+ screen:expect{grid=[[
+ |
+ {4:~ }|
+ {4:~ }|
+ {4:~ }|
+ {5:[No Name] }|
+ :<{1: } |
+ {3:-- TERMINAL --} |
+ ]]}
+ end)
+
it('paste: big burst of input', function()
feed_data(':set ruler\n')
local t = {}