@gespenst/svelte
v0.1.2
Published
Svelte bindings for the Ghostty-powered web terminal
Readme
@gespenst/svelte
A Svelte action for @gespenst/core.
<script lang="ts">
import { gespenstTerminal } from '@gespenst/svelte';
import '@gespenst/core/style.css';
</script>
<div use:gespenstTerminal={{ onReady: (terminal) => terminal.focus() }} />The action creates the terminal on mount, supports runtime font and theme updates, and disposes on destroy.
