Skip to content
Merged
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
15 changes: 15 additions & 0 deletions internal/ui/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,12 @@ func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return m, tea.Quit
case "c":
return m, m.copyDetailsViewport()
case "ctrl+up", "home":
m.detailViewport.GotoTop()
return m, nil
case "ctrl+down", "end":
m.detailViewport.GotoBottom()
return m, nil
}
}

Expand Down Expand Up @@ -390,6 +396,15 @@ func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
m.maxTableXOffset(),
)
return m, nil

case "ctrl+up", "home":
m.table.GotoTop()
return m, nil

case "ctrl+down", "end":
m.table.GotoBottom()
return m, nil

}

if cmd := m.executeResourceCommand(commandKey(msg)); cmd != nil {
Expand Down
Loading