(title string, items []string, hint string, limit int)
| 27 | } |
| 28 | |
| 29 | func newLimitedPickerStep(title string, items []string, hint string, limit int) pickerStep { |
| 30 | return pickerStep{ |
| 31 | title: title, |
| 32 | items: append([]string(nil), items...), |
| 33 | visibleLimit: limit, |
| 34 | hint: hint, |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | // pickerAction summarises what the wrapping model should do after a |
| 39 | // key event. |
no outgoing calls