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

Function init

lib/index.ts:28–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 * ```
27 */
28export async function init(): Promise<void> {
29 if (ghosttyInstance) {
30 return; // Already initialized
31 }
32 ghosttyInstance = await Ghostty.load();
33}
34
35/**
36 * Get the initialized Ghostty instance.

Callers

nothing calls this directly

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…