(e3)
| 225 | }))), this.register((0, n.addDisposableDomListener)(this._element, "mousemove", this._handleMouseMove.bind(this))), this.register((0, n.addDisposableDomListener)(this._element, "mousedown", this._handleMouseDown.bind(this))), this.register((0, n.addDisposableDomListener)(this._element, "mouseup", this._handleMouseUp.bind(this))); |
| 226 | } |
| 227 | _handleMouseMove(e3) { |
| 228 | this._lastMouseEvent = e3; |
| 229 | const t3 = this._positionFromMouseEvent(e3, this._element, this._mouseService); |
| 230 | if (!t3) return; |
| 231 | this._isMouseOut = false; |
| 232 | const i3 = e3.composedPath(); |
| 233 | for (let e4 = 0; e4 < i3.length; e4++) { |
| 234 | const t4 = i3[e4]; |
| 235 | if (t4.classList.contains("xterm")) break; |
| 236 | if (t4.classList.contains("xterm-hover")) return; |
| 237 | } |
| 238 | this._lastBufferCell && t3.x === this._lastBufferCell.x && t3.y === this._lastBufferCell.y || (this._handleHover(t3), this._lastBufferCell = t3); |
| 239 | } |
| 240 | _handleHover(e3) { |
| 241 | if (this._activeLine !== e3.y || this._wasResized) return this._clearCurrentLink(), this._askForLink(e3, false), void (this._wasResized = false); |
| 242 | this._currentLink && this._linkAtPosition(this._currentLink.link, e3) || (this._clearCurrentLink(), this._askForLink(e3, true)); |
no test coverage detected