MCPcopy
hub / github.com/codeaashu/claude-code / _addCallbacks

Method _addCallbacks

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

Source from the content-addressed store, hash-verified

6214 }
6215 provideLinks(e3, t3) {
6216 const n3 = o2.computeLink(e3, this._regex, this._terminal, this._handler);
6217 t3(this._addCallbacks(n3));
6218 }
6219 _addCallbacks(e3) {
6220 return e3.map(((e4) => (e4.leave = this._options.leave, e4.hover = (t3, n3) => {
6221 if (this._options.hover) {
6222 const { range: o3 } = e4;
6223 this._options.hover(t3, n3, o3);
6224 }
6225 }, e4)));
6226 }

Callers 1

provideLinksMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected