tuil
ReferencePackages@mwillbanks/tuil-ghostty-webAPI

TuilGhosttyInstance

interface exported by @mwillbanks/tuil-ghostty-web.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-ghostty-web.

export interface TuilGhosttyInstance {
  readonly app: TuilRuntime;
  readonly terminal: GhosttyTerminal;
  readonly semantics: SemanticRegistry;
  focus(): void;
  resize(): void;
  unmount(): Promise<void>;
}

Members

MemberTypeRequiredDescriptionRelated types
appTuilRuntime<import("@mwillbanks/tuil-events").EventMap, import("@mwillbanks/tuil").TuilExtensionPoints>YesThe app member uses the TuilRuntime<import("@mwillbanks/tuil-events").EventMap, import("@mwillbanks/tuil").TuilExtensionPoints> contract.EventMap, TuilExtensionPoints, TuilRuntime
terminalGhosttyTerminalYesThe terminal member uses the GhosttyTerminal contract.
semanticsSemanticRegistryYesThe semantics member uses the SemanticRegistry contract.SemanticRegistry
focus() => voidYesThe focus member uses the () => void contract.
resize() => voidYesThe resize member uses the () => void contract.
unmount() => Promise<void>YesThe unmount member uses the () => Promise<void> contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-ghostty-web

On this page