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

Method _fillCharTrueColor

src/server/web/public/terminal.js:7248–7250  ·  view source on GitHub ↗
(e3, t3, i3, s3)

Source from the content-addressed store, hash-verified

7246 this._alpha ? this._ctx.clearRect(0, 0, this._canvas.width, this._canvas.height) : (this._ctx.fillStyle = this._themeService.colors.background.css, this._ctx.fillRect(0, 0, this._canvas.width, this._canvas.height));
7247 }
7248 _clearCells(e3, t3, i3, s3) {
7249 this._alpha ? this._ctx.clearRect(e3 * this._deviceCellWidth, t3 * this._deviceCellHeight, i3 * this._deviceCellWidth, s3 * this._deviceCellHeight) : (this._ctx.fillStyle = this._themeService.colors.background.css, this._ctx.fillRect(e3 * this._deviceCellWidth, t3 * this._deviceCellHeight, i3 * this._deviceCellWidth, s3 * this._deviceCellHeight));
7250 }
7251 _fillCharTrueColor(e3, t3, i3, s3) {
7252 this._ctx.font = this._getFont(e3, false, false), this._ctx.textBaseline = r.TEXT_BASELINE, this._clipCell(i3, s3, t3.getWidth()), this._ctx.fillText(t3.getChars(), i3 * this._deviceCellWidth + this._deviceCharLeft, s3 * this._deviceCellHeight + this._deviceCharTop + this._deviceCharHeight);
7253 }

Callers

nothing calls this directly

Calls 4

_getFontMethod · 0.95
_clipCellMethod · 0.95
getWidthMethod · 0.45
getCharsMethod · 0.45

Tested by

no test coverage detected