fix(picker): stopinsert again

This commit is contained in:
Folke Lemaitre 2025-01-24 06:46:59 +01:00
parent 95bfaf1cb0
commit 2250c57529
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -464,10 +464,10 @@ end
--- Close the picker
function M:close()
self.input:stopinsert()
if self.closed then
return
end
self.input:stopinsert()
self:hist_record(true)
self.closed = true