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

Method requestStatusString

src/server/web/public/terminal.js:3465–3468  ·  view source on GitHub ↗
(e3, t3)

Source from the content-addressed store, hash-verified

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");
3468 }
3469 markRangeDirty(e3, t3) {
3470 this._dirtyRowTracker.markRangeDirty(e3, t3);
3471 }

Callers 1

constructorMethod · 0.95

Calls 2

triggerDataEventMethod · 0.80
isProtectedMethod · 0.45

Tested by

no test coverage detected