fix(picker.proc): make sure to emit the last line when done. Closes #1095

This commit is contained in:
Folke Lemaitre 2025-02-12 07:32:40 +01:00
parent d870f16453
commit b94926e5cc
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -155,6 +155,10 @@ function M.proc(opts, ctx)
process(queue:pop())
end
end
-- process the last line
if prev then
cb({ text = prev })
end
end
end