MoveDown moves the selection down.
()
| 250 | |
| 251 | // MoveDown moves the selection down. |
| 252 | func (p *PRDPicker) MoveDown() { |
| 253 | if p.inputMode { |
| 254 | return |
| 255 | } |
| 256 | if p.selectedIndex < len(p.entries)-1 { |
| 257 | p.selectedIndex++ |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | // GetSelectedEntry returns the currently selected PRD entry. |
| 262 | func (p *PRDPicker) GetSelectedEntry() *PRDEntry { |
no outgoing calls
no test coverage detected