Skip to content

Commit e6c1ab0

Browse files
committed
fix: pager doesn't respond to arrow keys
1 parent d83dd43 commit e6c1ab0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/ui/update.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
409409
m.activeView = taskEntryView
410410
return m, tea.Batch(cmds...)
411411

412-
case "j":
412+
case "down", "j":
413413
if m.activeView != taskDetailsView && m.activeView != helpView {
414414
break
415415
}
@@ -427,7 +427,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
427427
m.helpVP.LineDown(viewPortMoveLineCount)
428428
}
429429

430-
case "k":
430+
case "up", "k":
431431
if m.activeView != taskDetailsView && m.activeView != helpView {
432432
break
433433
}

0 commit comments

Comments
 (0)