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

Method reset

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

Source from the content-addressed store, hash-verified

759 }
760 }
761 reset() {
762 var _a, _b;
763 this.options.rows = this.rows, this.options.cols = this.cols;
764 const e3 = this._customKeyEventHandler;
765 this._setup(), super.reset(), (_a = this._selectionService) == null ? void 0 : _a.reset(), this._decorationService.reset(), (_b = this.viewport) == null ? void 0 : _b.reset(), this._customKeyEventHandler = e3, this.refresh(0, this.rows - 1);
766 }
767 clearTextureAtlas() {
768 var _a;
769 (_a = this._renderService) == null ? void 0 : _a.clearTextureAtlas();

Callers 1

constructorMethod · 0.95

Calls 3

_setupMethod · 0.95
refreshMethod · 0.95
resetMethod · 0.65

Tested by

no test coverage detected