[READ-ONLY] Mirror of https://github.com/bombshell-dev/tty. Platform independent 2D layout engine for terminal applications based on Clay
5

Configure Feed

Select the types of activity you want to include in your feed.

♻️ use node:fs/promises for wasm file loading

Charles Lowell (Mar 16, 2026, 10:51 PM -0500) 6c87ca79 abab6349

+5 -1
+5 -1
native.ts
··· 7 7 length(ct: number): number; 8 8 } 9 9 10 - const wasm = await Deno.readFile(new URL("./clayterm.wasm", import.meta.url)); 10 + import { readFile } from "node:fs/promises"; 11 + 12 + const wasm = new Uint8Array( 13 + await readFile(new URL("./clayterm.wasm", import.meta.url)), 14 + ); 11 15 const compiled = await WebAssembly.compile(wasm); 12 16 13 17 export async function load(w: number, h: number): Promise<Native> {