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

Method _setCellUnderline

src/server/web/public/terminal.js:1355–1365  ·  view source on GitHub ↗
(e3, t3, i3, s3, r2, n2)

Source from the content-addressed store, hash-verified

1353 this._setCellUnderline(e3.x1, e3.x2, e3.y1, e3.y2, e3.cols, false);
1354 }
1355 _setCellUnderline(e3, t3, i3, s3, r2, n2) {
1356 i3 < 0 && (e3 = 0), s3 < 0 && (t3 = 0);
1357 const o2 = this._bufferService.rows - 1;
1358 i3 = Math.max(Math.min(i3, o2), 0), s3 = Math.max(Math.min(s3, o2), 0), r2 = Math.min(r2, this._bufferService.cols);
1359 const a2 = this._bufferService.buffer, h2 = a2.ybase + a2.y, c2 = Math.min(a2.x, r2 - 1), l2 = this._optionsService.rawOptions.cursorBlink, d2 = this._optionsService.rawOptions.cursorStyle, _2 = this._optionsService.rawOptions.cursorInactiveStyle;
1360 for (let o3 = i3; o3 <= s3; ++o3) {
1361 const u2 = o3 + a2.ydisp, f2 = this._rowElements[o3], v2 = a2.lines.get(u2);
1362 if (!f2 || !v2) break;
1363 f2.replaceChildren(...this._rowFactory.createRow(v2, u2, u2 === h2, d2, _2, c2, l2, this.dimensions.css.cell.width, this._widthCache, n2 ? o3 === i3 ? e3 : 0 : -1, n2 ? (o3 === s3 ? t3 : r2) - 1 : -1));
1364 }
1365 }
1366 };
1367 t2.DomRenderer = w = s2([r(7, f.IInstantiationService), r(8, l.ICharSizeService), r(9, f.IOptionsService), r(10, f.IBufferService), r(11, l.ICoreBrowserService), r(12, l.IThemeService)], w);
1368 }, 3787: function(e2, t2, i2) {

Callers 2

_handleLinkHoverMethod · 0.80
_handleLinkLeaveMethod · 0.80

Calls 3

maxMethod · 0.80
createRowMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected