fix(image.terminal): reset queue when timer runs

This commit is contained in:
Folke Lemaitre 2025-02-23 08:13:00 +01:00
parent b100c93717
commit 2b34c4dc05
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -57,8 +57,8 @@ local queue = {} ---@type string[]?
vim.defer_fn(function()
if queue and #queue > 0 then
io.stdout:write(table.concat(queue, ""))
queue = nil
end
queue = nil
end, 100)
function M.size()