* Set the search highlight query. Non-empty → all visible occurrences * are inverted (SGR 7) on the next frame; first one also underlined. * Empty → clears (prevFrameContaminated handles the frame after). Same * damage-tracking machinery as selection — setCellStyleId doesn't track * dama
(query: string)
| 1206 | * damage, so the overlay forces full-frame damage while active. |
| 1207 | */ |
| 1208 | setSearchHighlight(query: string): void { |
| 1209 | if (this.searchHighlightQuery === query) return; |
| 1210 | this.searchHighlightQuery = query; |
| 1211 | this.scheduleRender(); |
| 1212 | } |
| 1213 | |
| 1214 | /** Paint an EXISTING DOM subtree to a fresh Screen at its natural |
| 1215 | * height, scan for query. Returns positions relative to the element's |
no outgoing calls
no test coverage detected