MCPcopy Index your code
hub / github.com/codeaashu/claude-code / _handleShowLinkUnderline

Method _handleShowLinkUnderline

src/server/web/public/terminal.js:7279–7287  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

7277 this._clearCells(this._state.x1, this._state.y1, this._state.cols - this._state.x1, 1);
7278 const e3 = this._state.y2 - this._state.y1 - 1;
7279 e3 > 0 && this._clearCells(0, this._state.y1 + 1, this._state.cols, e3), this._clearCells(0, this._state.y2, this._state.x2, 1), this._state = void 0;
7280 }
7281 }
7282 _handleShowLinkUnderline(e3) {
7283 if (e3.fg === r.INVERTED_DEFAULT_COLOR ? this._ctx.fillStyle = this._themeService.colors.background.css : void 0 !== e3.fg && (0, s2.is256Color)(e3.fg) ? this._ctx.fillStyle = this._themeService.colors.ansi[e3.fg].css : this._ctx.fillStyle = this._themeService.colors.foreground.css, e3.y1 === e3.y2) this._fillBottomLineAtCells(e3.x1, e3.y1, e3.x2 - e3.x1);
7284 else {
7285 this._fillBottomLineAtCells(e3.x1, e3.y1, e3.cols - e3.x1);
7286 for (let t3 = e3.y1 + 1; t3 < e3.y2; t3++) this._fillBottomLineAtCells(0, t3, e3.cols);
7287 this._fillBottomLineAtCells(0, e3.y2, e3.x2);
7288 }
7289 this._state = e3;
7290 }

Callers 1

constructorMethod · 0.95

Calls 1

Tested by

no test coverage detected