works now

This commit is contained in:
Robin Olsen
2026-03-18 11:58:31 +01:00
parent 40d25cc716
commit 3e9a903506
24 changed files with 154 additions and 99 deletions

View File

@@ -258,7 +258,7 @@ func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return issues.SelectIssueMsg{IssueID: selectedIssue.ID}
})
case tea.KeyMsg:
case tea.KeyPressMsg:
if m.confirmingDelete {
switch msg.String() {
case "y", "Y":
@@ -499,7 +499,7 @@ func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return m, nil
}
cmd := m.handleKeyMsg(msg)
cmd := m.handleKeyPressMsg(msg)
if cmd != nil {
return m, cmd
}