feat: delete cards #6

Closed
dananglin wants to merge 35 commits from delete-cards into main
Showing only changes of commit 3536c930f4 - Show all commits

View file

@ -37,6 +37,18 @@ func (u *UI) newColumn(statusID int, statusName string) column {
u.shiftColumnFocus(shiftLeft) u.shiftColumnFocus(shiftLeft)
case 'l': case 'l':
u.shiftColumnFocus(shiftRight) u.shiftColumnFocus(shiftRight)
case 'j':
cur := cards.GetCurrentItem()
if cur == cards.GetItemCount()-1 {
cur = 0
} else {
cur++
}
cards.SetCurrentItem(cur)
case 'k':
cur := cards.GetCurrentItem()
cur--
cards.SetCurrentItem(cur)
} }
return event return event