Propagate renderer startup failures from the TUI promise instead of leaving opencode hanging, and destroy any partially initialized renderer before rejecting to restore terminal state.
To install dependencies:
bun install
To run:
bun run index.ts
This project was created using bun init in bun v1.2.12. Bun is a fast all-in-one JavaScript runtime.
bun init