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

Method getCanvas

lib/renderer.ts:888–890  ·  view source on GitHub ↗

* Get canvas element (needed by SelectionManager)

()

Source from the content-addressed store, hash-verified

886 * Get canvas element (needed by SelectionManager)
887 */
888 public getCanvas(): HTMLCanvasElement {
889 return this.canvas;
890 }
891
892 /**
893 * Set selection manager (for rendering selection)

Callers 3

focusMethod · 0.80
disposeMethod · 0.80
attachEventListenersMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected