MCPcopy
hub / github.com/codeaashu/claude-code / insertChars

Method insertChars

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

Source from the content-addressed store, hash-verified

2991 return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.y, this._activeBuffer.scrollBottom), this._activeBuffer.x = 0, true;
2992 }
2993 insertChars(e3) {
2994 this._restrictCursor();
2995 const t3 = this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y);
2996 return t3 && (t3.insertCells(this._activeBuffer.x, e3.params[0] || 1, this._activeBuffer.getNullCell(this._eraseAttrData())), this._dirtyRowTracker.markDirty(this._activeBuffer.y)), true;
2997 }
2998 deleteChars(e3) {
2999 this._restrictCursor();
3000 const t3 = this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y);

Callers 1

constructorMethod · 0.95

Calls 6

_restrictCursorMethod · 0.95
_eraseAttrDataMethod · 0.95
insertCellsMethod · 0.80
getNullCellMethod · 0.80
getMethod · 0.65
markDirtyMethod · 0.45

Tested by

no test coverage detected