| 29 | ) |
| 30 | |
| 31 | type 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 | |
| 42 | func NewHistoryView(width, height int) *HistoryView { |
| 43 | return &HistoryView{ |
nothing calls this directly
no outgoing calls
no test coverage detected