@geometra/renderer-terminal
v1.17.0
Published
Terminal/TUI renderer for Geometra — the singularity frontend framework
Maintainers
Readme
@geometra/renderer-terminal
ANSI terminal renderer for Geometra. Renders UI element trees directly to the terminal using ANSI escape sequences.
Install
npm install @geometra/renderer-terminalKey Export
TerminalRenderer-- renders Geometra element trees to stdout
Usage
import { TerminalRenderer } from '@geometra/renderer-terminal'
const renderer = new TerminalRenderer(process.stdout)
renderer.render(tree, layout)Direction notes
dir: 'rtl'text is right-aligned within each rendered terminal line chunk.dir: 'auto'inherits parent direction (same baseline behavior as core).- Full Unicode bidi shaping/reordering is not implemented in the terminal renderer yet.
