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

Method screenAlignmentPattern

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

Source from the content-addressed store, hash-verified

3454 return this._charsetService.setgLevel(e3), true;
3455 }
3456 screenAlignmentPattern() {
3457 const e3 = new u.CellData();
3458 e3.content = 1 << 22 | "E".charCodeAt(0), e3.fg = this._curAttrData.fg, e3.bg = this._curAttrData.bg, this._setCursor(0, 0);
3459 for (let t3 = 0; t3 < this._bufferService.rows; ++t3) {
3460 const i3 = this._activeBuffer.ybase + this._activeBuffer.y + t3, s3 = this._activeBuffer.lines.get(i3);
3461 s3 && (s3.fill(e3), s3.isWrapped = false);
3462 }
3463 return this._dirtyRowTracker.markAllDirty(), this._setCursor(0, 0), true;
3464 }
3465 requestStatusString(e3, t3) {
3466 const i3 = this._bufferService.buffer, s3 = this._optionsService.rawOptions;
3467 return ((e4) => (this._coreService.triggerDataEvent(`${n.C0.ESC}${e4}${n.C0.ESC}\\`), true))('"q' === e3 ? `P1$r${this._curAttrData.isProtected() ? 1 : 0}"q` : '"p' === e3 ? 'P1$r61;1"p' : "r" === e3 ? `P1$r${i3.scrollTop + 1};${i3.scrollBottom + 1}r` : "m" === e3 ? "P1$r0m" : " q" === e3 ? `P1$r${{ block: 2, underline: 4, bar: 6 }[s3.cursorStyle] - (s3.cursorBlink ? 1 : 0)} q` : "P0$r");

Callers 1

constructorMethod · 0.95

Calls 4

_setCursorMethod · 0.95
fillMethod · 0.80
markAllDirtyMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected