(container: HTMLElement)
| 901 | |
| 902 | /** Remove every streaming caret under `container` (open-tag stack moves leave orphans). */ |
| 903 | export function removeStreamingCarets(container: HTMLElement): void { |
| 904 | container.querySelectorAll(".sh-caret").forEach((node) => node.remove()); |
| 905 | } |
| 906 | |
| 907 | export function syncStreamingCaret( |
| 908 | container: HTMLElement, |
no outgoing calls
no test coverage detected