(width, height int)
| 177 | const pricingSplitThreshold = 7 |
| 178 | |
| 179 | func NewPricingView(width, height int) *PricingView { |
| 180 | return &PricingView{ |
| 181 | ActiveSection: PricingSectionCommand, |
| 182 | BuilderFocus: BuilderFocusField, |
| 183 | CommandBuilder: NewCommandBuilderState(), |
| 184 | ResultsPerPage: 15, |
| 185 | SuggestionIndex: -1, |
| 186 | Width: width, |
| 187 | Height: height, |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | // PricingEvent is returned from HandleKey. |
| 192 | type PricingEvent int |
no test coverage detected