mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
fix(picker.proc): make sure to emit the last line when done. Closes #1095
This commit is contained in:
parent
d870f16453
commit
b94926e5cc
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue