MCPcopy Create free account
hub / github.com/coder/ghostty-web / getMetrics

Method getMetrics

lib/renderer.ts:881–883  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

879 ctx.fillRect(scrollbarX, thumbY, scrollbarWidth, thumbHeight);
880 }
881 public getMetrics(): FontMetrics {
882 return { ...this.metrics };
883 }
884
885 /**
886 * Get canvas element (needed by SelectionManager)

Callers 6

terminal.test.tsFile · 0.80
handleFontChangeMethod · 0.80
resizeMethod · 0.80
TerminalClass · 0.80
pixelToCellMethod · 0.80
proposeDimensionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected