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

Method sendDeviceAttributesSecondary

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

Source from the content-addressed store, hash-verified

3068 return e3.params[0] > 0 || (this._is("xterm") || this._is("rxvt-unicode") || this._is("screen") ? this._coreService.triggerDataEvent(n.C0.ESC + "[?1;2c") : this._is("linux") && this._coreService.triggerDataEvent(n.C0.ESC + "[?6c")), true;
3069 }
3070 sendDeviceAttributesSecondary(e3) {
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 }

Callers 1

constructorMethod · 0.95

Calls 2

_isMethod · 0.95
triggerDataEventMethod · 0.80

Tested by

no test coverage detected