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

Method sendDeviceAttributesPrimary

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

Source from the content-addressed store, hash-verified

3065 return this.print(o2, 0, h2), true;
3066 }
3067 sendDeviceAttributesPrimary(e3) {
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 }

Callers 1

constructorMethod · 0.95

Calls 2

_isMethod · 0.95
triggerDataEventMethod · 0.80

Tested by

no test coverage detected