(state: ControlState)
| 444 | } |
| 445 | |
| 446 | async function waitForInitialRender(state: ControlState): Promise<void> { |
| 447 | const deadline = Date.now() + INITIAL_RENDER_TIMEOUT_MS; |
| 448 | while (state.renderSeq.value === 0 && Date.now() <= deadline) { |
| 449 | await delay(10); |
| 450 | } |
| 451 | } |
| 452 | |
| 453 | function colorModeMeets( |
| 454 | actual: TerminalCaps["colorMode"], |
no test coverage detected