MCPcopy Create free account
hub / github.com/OverloadBlitz/cloudcent-cli / HistoryView

Struct HistoryView

internal/tui/views/history.go:31–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29)
30
31type HistoryView struct {
32 ActiveSection HistorySection
33 History []db.QueryHistory
34 Selected int
35 ListOffset int // index of the first visible history row
36 listVisible int // cached from last Render(); used by clampListOffset
37 SelectedResults []PricingDisplayItem
38 Width int
39 Height int
40}
41
42func NewHistoryView(width, height int) *HistoryView {
43 return &HistoryView{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected