fix(picker.actions): when only 1 win, pick_win will select that automatically. Show warning when no windows. See #623

This commit is contained in:
Folke Lemaitre 2025-01-30 20:57:17 +01:00
parent 71070b78f0
commit ba5a70b84d
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 27 additions and 16 deletions

View file

@ -186,7 +186,7 @@ function State:setup(opts, ctx)
if self.all then
local picker = self.picker()
if not picker then
return
return {}
end
picker.list:set_target()
self.on_find = function()