Skip to content

Commit

Permalink
check if last attribution is ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
zeucapua committed Sep 10, 2024
1 parent bfdd669 commit 315a97b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/generate/config/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {

case tea.KeyCtrlI:
m.currentIndex++
if m.currentIndex+1 >= len(m.uniqueEmails) {
return m, runOutputGeneration(m.opts, m.attributionMap)
}
return m, nil

case tea.KeyEnter:
Expand Down

0 comments on commit 315a97b

Please sign in to comment.