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

Method selectCharset

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

Source from the content-addressed store, hash-verified

3426 return this._charsetService.setgLevel(0), this._charsetService.setgCharset(0, o.DEFAULT_CHARSET), true;
3427 }
3428 selectCharset(e3) {
3429 return 2 !== e3.length ? (this.selectDefaultCharset(), true) : ("/" === e3[0] || this._charsetService.setgCharset(C[e3[0]], o.CHARSETS[e3[1]] || o.DEFAULT_CHARSET), true);
3430 }
3431 index() {
3432 return this._restrictCursor(), this._activeBuffer.y++, this._activeBuffer.y === this._activeBuffer.scrollBottom + 1 ? (this._activeBuffer.y--, this._bufferService.scroll(this._eraseAttrData())) : this._activeBuffer.y >= this._bufferService.rows && (this._activeBuffer.y = this._bufferService.rows - 1), this._restrictCursor(), true;
3433 }

Callers 1

constructorMethod · 0.95

Calls 2

selectDefaultCharsetMethod · 0.95
setgCharsetMethod · 0.80

Tested by

no test coverage detected