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

Method restoreCursor

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

Source from the content-addressed store, hash-verified

3340 return this._activeBuffer.savedX = this._activeBuffer.x, this._activeBuffer.savedY = this._activeBuffer.ybase + this._activeBuffer.y, this._activeBuffer.savedCurAttrData.fg = this._curAttrData.fg, this._activeBuffer.savedCurAttrData.bg = this._curAttrData.bg, this._activeBuffer.savedCharset = this._charsetService.charset, true;
3341 }
3342 restoreCursor(e3) {
3343 return this._activeBuffer.x = this._activeBuffer.savedX || 0, this._activeBuffer.y = Math.max(this._activeBuffer.savedY - this._activeBuffer.ybase, 0), this._curAttrData.fg = this._activeBuffer.savedCurAttrData.fg, this._curAttrData.bg = this._activeBuffer.savedCurAttrData.bg, this._charsetService.charset = this._savedCharset, this._activeBuffer.savedCharset && (this._charsetService.charset = this._activeBuffer.savedCharset), this._restrictCursor(), true;
3344 }
3345 setTitle(e3) {
3346 return this._windowTitle = e3, this._onTitleChange.fire(e3), true;
3347 }

Callers 2

constructorMethod · 0.95
resetModePrivateMethod · 0.95

Calls 2

_restrictCursorMethod · 0.95
maxMethod · 0.80

Tested by

no test coverage detected