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

Method _is

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

Source from the content-addressed store, hash-verified

3071 return e3.params[0] > 0 || (this._is("xterm") ? this._coreService.triggerDataEvent(n.C0.ESC + "[>0;276;0c") : this._is("rxvt-unicode") ? this._coreService.triggerDataEvent(n.C0.ESC + "[>85;95;0c") : this._is("linux") ? this._coreService.triggerDataEvent(e3.params[0] + "c") : this._is("screen") && this._coreService.triggerDataEvent(n.C0.ESC + "[>83;40003;0c")), true;
3072 }
3073 _is(e3) {
3074 return 0 === (this._optionsService.rawOptions.termName + "").indexOf(e3);
3075 }
3076 setMode(e3) {
3077 for (let t3 = 0; t3 < e3.length; t3++) switch (e3.params[t3]) {
3078 case 4:

Calls

no outgoing calls

Tested by

no test coverage detected