resetClickTracking clears double-click state so an unrelated later click can't be paired with a stale earlier one (e.g. across opening/closing the details dialog).
()
| 444 | // can't be paired with a stale earlier one (e.g. across opening/closing the |
| 445 | // details dialog). |
| 446 | func (m *agentPickerModel) resetClickTracking() { |
| 447 | m.lastClickIndex = -1 |
| 448 | m.lastClickTime = time.Time{} |
| 449 | } |
| 450 | |
| 451 | // detailsContent returns the text shown in the YAML dialog for a choice. |
| 452 | func (m *agentPickerModel) detailsContent(choice agentChoice) string { |
no outgoing calls
no test coverage detected