* Hit-test the rendered DOM tree at (col, row) and bubble a ClickEvent * from the deepest hit node up through ancestors with onClick handlers. * Returns true if a DOM handler consumed the click. Gated on * altScreenActive — clicks only make sense with a fixed viewport where * nodeCache r
(col: number, row: number)
| 1258 | * nodeCache rects map 1:1 to terminal cells (no scrollback offset). |
| 1259 | */ |
| 1260 | dispatchClick(col: number, row: number): boolean { |
| 1261 | if (!this.altScreenActive) return false; |
| 1262 | const blank = isEmptyCellAt(this.frontFrame.screen, col, row); |
| 1263 | return dispatchClick(this.rootNode, col, row, blank); |
| 1264 | } |
| 1265 | dispatchHover(col: number, row: number): void { |
| 1266 | if (!this.altScreenActive) return; |
| 1267 | dispatchHover(this.rootNode, col, row, this.hoveredNodes); |
nothing calls this directly
no test coverage detected