Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions internal/ui/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,10 @@ func (m *AppModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return m, m.loadTask(task.ID)
}
}
// Pass mouse events to detail view for scrolling
if m.currentView == ViewDetail {
return m.updateDetail(msg)
}

case tasksLoadedMsg:
m.loading = false
Expand Down Expand Up @@ -2406,10 +2410,7 @@ func (m *AppModel) updateDetail(msg tea.Msg) (tea.Model, tea.Cmd) {
}

// Arrow key navigation to prev/next task in the same column
// Skip j/k in detail view - only use arrow keys (j/k reserved for other uses)
if keyMsg.String() == "j" || keyMsg.String() == "k" {
return m, nil
}
// j/k keys are passed through to the viewport for scrolling
if key.Matches(keyMsg, m.keys.Up) {
// Ignore if no previous task exists
if !m.kanban.HasPrevTask() {
Expand Down
2 changes: 1 addition & 1 deletion internal/ui/detail.go
Original file line number Diff line number Diff line change
Expand Up @@ -2615,7 +2615,7 @@ func (m *DetailModel) renderHelp() string {

// Show scroll hint when content is scrollable
if m.viewport.TotalLineCount() > m.viewport.VisibleLineCount() {
keys = append(keys, helpKey{"PgUp/Dn", "scroll", false})
keys = append(keys, helpKey{"j/k/wheel", "scroll", false})
}

// Only show execute/retry when Claude is not running
Expand Down