mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
fix(termcap): set 'nested' on TermResponse autocommand
This commit is contained in:
parent
ef38fdfdc6
commit
ffeb31c2f9
@ -34,6 +34,7 @@ function M.query(caps, cb)
|
|||||||
local timer = assert(vim.uv.new_timer())
|
local timer = assert(vim.uv.new_timer())
|
||||||
|
|
||||||
local id = vim.api.nvim_create_autocmd('TermResponse', {
|
local id = vim.api.nvim_create_autocmd('TermResponse', {
|
||||||
|
nested = true,
|
||||||
callback = function(args)
|
callback = function(args)
|
||||||
local resp = args.data ---@type string
|
local resp = args.data ---@type string
|
||||||
local k, rest = resp:match('^\027P1%+r(%x+)(.*)$')
|
local k, rest = resp:match('^\027P1%+r(%x+)(.*)$')
|
||||||
|
Loading…
Reference in New Issue
Block a user