mirror of
https://github.com/folke/snacks.nvim
synced 2025-07-08 05:35:12 +00:00
fix(image.terminal): reset queue when timer runs
This commit is contained in:
parent
b100c93717
commit
2b34c4dc05
1 changed files with 1 additions and 1 deletions
|
@ -57,8 +57,8 @@ local queue = {} ---@type string[]?
|
||||||
vim.defer_fn(function()
|
vim.defer_fn(function()
|
||||||
if queue and #queue > 0 then
|
if queue and #queue > 0 then
|
||||||
io.stdout:write(table.concat(queue, ""))
|
io.stdout:write(table.concat(queue, ""))
|
||||||
queue = nil
|
|
||||||
end
|
end
|
||||||
|
queue = nil
|
||||||
end, 100)
|
end, 100)
|
||||||
|
|
||||||
function M.size()
|
function M.size()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue