MCPcopy Create free account
hub / github.com/codeaashu/claude-code / activateNormalBuffer

Method activateNormalBuffer

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

Source from the content-addressed store, hash-verified

4307 return this._normal;
4308 }
4309 activateNormalBuffer() {
4310 this._activeBuffer !== this._normal && (this._normal.x = this._alt.x, this._normal.y = this._alt.y, this._alt.clearAllMarkers(), this._alt.clear(), this._activeBuffer = this._normal, this._onBufferActivate.fire({ activeBuffer: this._normal, inactiveBuffer: this._alt }));
4311 }
4312 activateAltBuffer(e3) {
4313 this._activeBuffer !== this._alt && (this._alt.fillViewportRows(e3), this._alt.x = this._normal.x, this._alt.y = this._normal.y, this._activeBuffer = this._alt, this._onBufferActivate.fire({ activeBuffer: this._alt, inactiveBuffer: this._normal }));
4314 }

Callers 1

resetModePrivateMethod · 0.80

Calls 3

clearAllMarkersMethod · 0.80
fireMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected