tui-snapshot

command
v0.3.0 Latest Latest
Warning

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

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

Documentation

Overview

tui-snapshot renders a sample widget tree to stdout as an ANSI stream. It is the tui analogue of painter/cmd/tui-demo — the same three-widget layout, sized to the current terminal (or a caller-supplied --cols/--rows), so pointing a terminal at its output shows the tui package end-to-end without any raw-mode or event-loop scaffolding.

Run with:

go run . | cat            # honours $COLUMNS / $LINES if set
COLUMNS=80 LINES=24 go run .
go run . --cols=100 --rows=20 --theme=dark

Jump to

Keyboard shortcuts

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