fix(picker): exit insert mode before closing with <c-c> to prevent cursor shifting left. Close #956

This commit is contained in:
Folke Lemaitre 2025-02-06 07:13:50 +01:00
parent f821b4a846
commit 71eae96bfa
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -140,7 +140,9 @@ function M.jump(picker, _, action)
end
function M.close(picker)
picker:norm(function()
picker:close()
end)
end
M.cancel = "close"