MCPcopy
hub / github.com/xtermjs/xterm.js / getColor

Method getColor

src/browser/ColorContrastCache.ts:26–28  ·  view source on GitHub ↗
(bg: number, fg: number)

Source from the content-addressed store, hash-verified

24 }
25
26 public getColor(bg: number, fg: number): IColor | null | undefined {
27 return this._color.get(bg, fg);
28 }
29
30 public clear(): void {
31 this._color.clear();

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected