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

Method clear

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

Source from the content-addressed store, hash-verified

7102 }
7103 clearTextureAtlas() {
7104 var _a;
7105 (_a = this._charAtlas) == null ? void 0 : _a.clearTexture(), this._clearModel(true), this._requestRedrawViewport();
7106 }
7107 clear() {
7108 var _a;
7109 this._clearModel(true);
7110 for (const e3 of this._renderLayers) e3.reset(this._terminal);
7111 (_a = this._cursorBlinkStateManager.value) == null ? void 0 : _a.restartBlinkAnimation(), this._updateCursorBlink();
7112 }

Callers

nothing calls this directly

Calls 4

_clearModelMethod · 0.95
_updateCursorBlinkMethod · 0.95
restartBlinkAnimationMethod · 0.80
resetMethod · 0.65

Tested by

no test coverage detected