waitForOptions adds extra delay to let the bubbletea event loop settle after switching modes when no async search is triggered.
()
| 109 | // waitForOptions adds extra delay to let the bubbletea event loop settle |
| 110 | // after switching modes when no async search is triggered. |
| 111 | func waitForOptions() interactionStep { |
| 112 | return interactionStep{bytes: nil, delay: 50 * time.Millisecond} |
| 113 | } |
| 114 | |
| 115 | // waitForSearch returns an interactionStep that blocks until the field's |
| 116 | // current async search completes. It wires a one-shot callback into the |
no outgoing calls
no test coverage detected