MCPcopy Index your code
hub / github.com/codeaashu/claude-code / explainEvents

Method explainEvents

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

Source from the content-addressed store, hash-verified

5504 if (e3.col++, e3.row++, 32 === e3.action && this._lastEvent && this._equalEvents(this._lastEvent, e3, "SGR_PIXELS" === this._activeEncoding)) return false;
5505 if (!this._protocols[this._activeProtocol].restrict(e3)) return false;
5506 const t3 = this._encodings[this._activeEncoding](e3);
5507 return t3 && ("DEFAULT" === this._activeEncoding ? this._coreService.triggerBinaryEvent(t3) : this._coreService.triggerDataEvent(t3, true)), this._lastEvent = e3, true;
5508 }
5509 explainEvents(e3) {
5510 return { down: !!(1 & e3), up: !!(2 & e3), drag: !!(4 & e3), move: !!(8 & e3), wheel: !!(16 & e3) };
5511 }

Callers 1

bindMouseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected