initial version of tui

This commit is contained in:
Ramnique Singh 2025-12-16 14:48:04 +05:30
parent 89a2fc583e
commit d0d0a3612e
14 changed files with 2079 additions and 70 deletions

View file

@ -0,0 +1,8 @@
import React from "react";
import { render } from "ink";
import { RowboatTui } from "./ui.js";
export function runTui({ serverUrl }: { serverUrl?: string }) {
const baseUrl = serverUrl ?? process.env.ROWBOATX_SERVER_URL ?? "http://127.0.0.1:3000";
render(<RowboatTui serverUrl={baseUrl} />);
}