fix(picker.preview): don't clear preview state on close so that colorscheme can be restored. Closes #932

This commit is contained in:
Folke Lemaitre 2025-02-04 19:52:08 +01:00
parent 87b9a78f60
commit 9688bd92cd
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -83,7 +83,6 @@ function M:close()
self.win:destroy()
self.item = nil
self.win_opts = { main = {}, layout = {}, win = {} }
self.state = {}
end
---@param main? number