* 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)
| 1411 | * nodeCache rects map 1:1 to terminal cells (no scrollback offset). |
| 1412 | */ |
| 1413 | dispatchClick(col: number, row: number): boolean { |
| 1414 | if (!this.altScreenActive) return false; |
| 1415 | const blank = isEmptyCellAt(this.frontFrame.screen, col, row); |
| 1416 | return dispatchClick(this.rootNode, col, row, blank); |
| 1417 | } |
| 1418 | dispatchHover(col: number, row: number): void { |
| 1419 | if (!this.altScreenActive) return; |
| 1420 | dispatchHover(this.rootNode, col, row, this.hoveredNodes); |
nothing calls this directly
no test coverage detected