MCPcopy Create free account
hub / github.com/codeaashu/claude-code / _clearLiveRegion

Method _clearLiveRegion

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

Source from the content-addressed store, hash-verified

66 this._liveRegionLineCount < 21 && (this._charsToConsume.length > 0 ? this._charsToConsume.shift() !== e3 && (this._charsToAnnounce += e3) : this._charsToAnnounce += e3, "\n" === e3 && (this._liveRegionLineCount++, 21 === this._liveRegionLineCount && (this._liveRegion.textContent += n.tooMuchOutput)));
67 }
68 _clearLiveRegion() {
69 this._liveRegion.textContent = "", this._liveRegionLineCount = 0;
70 }
71 _handleKey(e3) {
72 this._clearLiveRegion(), new RegExp("\\p{Control}", "u").test(e3) || this._charsToConsume.push(e3);
73 }

Callers 2

constructorMethod · 0.80
_handleKeyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected