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

Method getDecorationsAtCell

src/server/web/public/terminal.js:5577–5580  ·  view source on GitHub ↗
(e3, t3, i3)

Source from the content-addressed store, hash-verified

5575 }
5576 reset() {
5577 for (const e3 of this._decorations.values()) e3.dispose();
5578 this._decorations.clear();
5579 }
5580 *getDecorationsAtCell(e3, t3, i3) {
5581 let s3 = 0, r2 = 0;
5582 for (const n2 of this._decorations.getKeyIterator(t3)) s3 = n2.options.x ?? 0, r2 = s3 + (n2.options.width ?? 1), e3 >= s3 && e3 < r2 && (!i3 || (n2.options.layer ?? "bottom") === i3) && (yield n2);
5583 }

Callers

nothing calls this directly

Calls 1

getKeyIteratorMethod · 0.80

Tested by

no test coverage detected