aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/parser_spec.lua
blob: 67f47c7888a205ed09e069ed5d9f3fb43949b429 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
local n = require('test.functional.testnvim')()

local clear = n.clear
local api = n.api
local assert_alive = n.assert_alive

describe(':terminal', function()
  before_each(clear)

  it('handles invalid OSC terminators #30084', function()
    local chan = api.nvim_open_term(0, {})
    api.nvim_chan_send(chan, '\027]8;;https://example.com\027\\Example\027]8;;\027\n')
    assert_alive()
  end)
end)