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

Method reset

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

Source from the content-addressed store, hash-verified

4937 this._errorHandler = e3;
4938 }
4939 clearErrorHandler() {
4940 this._errorHandler = this._errorHandlerFb;
4941 }
4942 reset() {
4943 this.currentState = this.initialState, this._oscParser.reset(), this._dcsParser.reset(), this._params.reset(), this._params.addParam(0), this._collect = 0, this.precedingJoinState = 0, 0 !== this._parseStack.state && (this._parseStack.state = 2, this._parseStack.handlers = []);
4944 }

Callers 1

constructorMethod · 0.95

Calls 5

addParamMethod · 0.80
valuesMethod · 0.80
resetMethod · 0.65
disposeMethod · 0.65
clearMethod · 0.45

Tested by

no test coverage detected