Documentation
¶
Overview ¶
tui-widgets renders the go-widgets/tui CELL-NATIVE widget set (every kind with a public constructor) into a scrollable cell-grid frame written to stdout as an ANSI stream. Every entry is a tui.* widget that renders one glyph per cell, so the gallery reflects how the widgets actually look in a terminal (unlike the pixel toolkit widgets, whose geometry does not map to a character grid).
The default frame is auto-sized to fit every entry. Pipe through `less -R` if your terminal's scrollback can't hold the whole frame:
go run . | less -R
Force a specific size + dark theme:
go run . --cols=90 --rows=120 --theme=dark
Or render one widget at a larger scale:
go run . --widget=table --cols=50 --rows=8
Click to show internal directories.
Click to hide internal directories.