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

Method lineFeed

src/server/web/public/terminal.js:2836–2838  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2834 return this._onRequestBell.fire(), true;
2835 }
2836 lineFeed() {
2837 return this._dirtyRowTracker.markDirty(this._activeBuffer.y), this._optionsService.rawOptions.convertEol && (this._activeBuffer.x = 0), this._activeBuffer.y++, this._activeBuffer.y === this._activeBuffer.scrollBottom + 1 ? (this._activeBuffer.y--, this._bufferService.scroll(this._eraseAttrData())) : this._activeBuffer.y >= this._bufferService.rows ? this._activeBuffer.y = this._bufferService.rows - 1 : this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y).isWrapped = false, this._activeBuffer.x >= this._bufferService.cols && this._activeBuffer.x--, this._dirtyRowTracker.markDirty(this._activeBuffer.y), this._onLineFeed.fire(), true;
2838 }
2839 carriageReturn() {
2840 return this._activeBuffer.x = 0, true;
2841 }

Callers 1

constructorMethod · 0.95

Calls 5

_eraseAttrDataMethod · 0.95
fireMethod · 0.80
getMethod · 0.65
markDirtyMethod · 0.45
scrollMethod · 0.45

Tested by

no test coverage detected