diff options
author | Aria Shrimpton <me@aria.rip> | 2024-04-08 00:10:13 +0100 |
---|---|---|
committer | Aria Shrimpton <me@aria.rip> | 2024-04-08 00:10:13 +0100 |
commit | 8c49b12e5b9563113393f9d3a28499fb8538ddcb (patch) | |
tree | 8f8d8d3ebc724256355b5d1974e41f7960005eec /confirm.go | |
parent | f15d79198259ae3107fd5847ba8127ddf863af80 (diff) |
actually filter based on initial command line
Diffstat (limited to 'confirm.go')
-rw-r--r-- | confirm.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,10 +13,10 @@ type confirmModel struct { doRun bool selected item viewport viewport.Model - returnTo selectingModel + returnTo *selectingModel } -func switchToConfirm(m selectingModel) (confirmModel, tea.Cmd) { +func switchToConfirm(m *selectingModel) (confirmModel, tea.Cmd) { model := confirmModel{ selected: m.list.SelectedItem().(item), returnTo: m, |