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

Method softReset

src/server/web/public/terminal.js:3292–3294  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

3290 return true;
3291 }
3292 softReset(e3) {
3293 return this._coreService.isCursorHidden = false, this._onRequestSyncScrollBar.fire(), this._activeBuffer.scrollTop = 0, this._activeBuffer.scrollBottom = this._bufferService.rows - 1, this._curAttrData = l.DEFAULT_ATTR_DATA.clone(), this._coreService.reset(), this._charsetService.reset(), this._activeBuffer.savedX = 0, this._activeBuffer.savedY = this._activeBuffer.ybase, this._activeBuffer.savedCurAttrData.fg = this._curAttrData.fg, this._activeBuffer.savedCurAttrData.bg = this._curAttrData.bg, this._activeBuffer.savedCharset = this._charsetService.charset, this._coreService.decPrivateModes.origin = false, true;
3294 }
3295 setCursorStyle(e3) {
3296 const t3 = e3.params[0] || 1;
3297 switch (t3) {

Callers 1

constructorMethod · 0.95

Calls 3

fireMethod · 0.80
resetMethod · 0.65
cloneMethod · 0.45

Tested by

no test coverage detected