tui-widgets

command
v0.48.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2026 License: BSD-3-Clause Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL