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

Method getNullCell

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

Source from the content-addressed store, hash-verified

3880 this._hasScrollback = e3, this._optionsService = t3, this._bufferService = i3, this.ydisp = 0, this.ybase = 0, this.y = 0, this.x = 0, this.tabs = {}, this.savedY = 0, this.savedX = 0, this.savedCurAttrData = o.DEFAULT_ATTR_DATA.clone(), this.savedCharset = d.DEFAULT_CHARSET, this.markers = [], this._nullCell = h.CellData.fromCharData([0, c.NULL_CELL_CHAR, c.NULL_CELL_WIDTH, c.NULL_CELL_CODE]), this._whitespaceCell = h.CellData.fromCharData([0, c.WHITESPACE_CELL_CHAR, c.WHITESPACE_CELL_WIDTH, c.WHITESPACE_CELL_CODE]), this._isClearing = false, this._memoryCleanupQueue = new r.IdleTaskQueue(), this._memoryCleanupPosition = 0, this._cols = this._bufferService.cols, this._rows = this._bufferService.rows, this.lines = new s2.CircularList(this._getCorrectBufferLength(this._rows)), this.scrollTop = 0, this.scrollBottom = this._rows - 1, this.setupTabStops();
3881 }
3882 getNullCell(e3) {
3883 return e3 ? (this._nullCell.fg = e3.fg, this._nullCell.bg = e3.bg, this._nullCell.extended = e3.extended) : (this._nullCell.fg = 0, this._nullCell.bg = 0, this._nullCell.extended = new n.ExtendedAttrs()), this._nullCell;
3884 }
3885 getWhitespaceCell(e3) {
3886 return e3 ? (this._whitespaceCell.fg = e3.fg, this._whitespaceCell.bg = e3.bg, this._whitespaceCell.extended = e3.extended) : (this._whitespaceCell.fg = 0, this._whitespaceCell.bg = 0, this._whitespaceCell.extended = new n.ExtendedAttrs()), this._whitespaceCell;
3887 }

Callers 15

printMethod · 0.80
_eraseInBufferLineMethod · 0.80
_resetBufferLineMethod · 0.80
insertCharsMethod · 0.80
deleteCharsMethod · 0.80
scrollLeftMethod · 0.80
scrollRightMethod · 0.80
insertColumnsMethod · 0.80
deleteColumnsMethod · 0.80
eraseCharsMethod · 0.80
getBlankLineMethod · 0.80
resizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected