`confirm` の中で `picker.selected` を指定し、必要な処理を行う。 ```lua { confirm = function(_picker) local items = _picker:selected({ fallback = true }) -- 選択された全候補(items)を使って処理を行う end, } ``` ## 参考 - [feat(GhostwriterRecentMessages)!: Add message metadata when confirmin… · tadashi-aikawa/ghostwriter.nvim@95655cf](https://github.com/tadashi-aikawa/ghostwriter.nvim/commit/95655cfca061af434182593407c4e1c5381716d1)