info
Report terminal dimensions, environment capabilities, colour depth, mouse support, and Unicode width.
Terminal inspection · ANSI validation · inline interfaces
The loom CLI reports terminal capabilities, measures and evaluates ANSI assets, checks box alignment, views and formats terminal artwork, and demonstrates interactive widgets. The Go library supplies reusable widgets and layout primitives to applications that need to stay in the current terminal.
go install ubunatic.com/loom/cmd/loom@latestTerminal inspection
Report terminal dimensions, environment capabilities, colour depth, mouse support, and Unicode width.
Measure visible row widths in terminal cells, accounting for ANSI control sequences and wide characters.
Evaluate terminal dimensions and row geometry, with optional diagnostic annotations.
ANSI asset validation
Validate Unicode box-border alignment across one or more files.
Normalize ANSI row widths, trim trailing whitespace, or align complete box edges; write changes only when requested.
loom measure loom-logo.ansi
loom eval loom-logo.ansi
loom check-box docs/data/ansiedit-design-001.ansi
loom format --trim-trailing artwork.ansi
Inspect interactively
The view command interactively displays an ANSI file while preserving the surrounding terminal context.
Live widget demos
Wrap file contents in a Unicode border with configurable style, title, padding, and colour.
Browse the widget catalog, inspect usage, or run live demos for individual widgets and the gallery.
loom frame README.md --title "loom"
loom widgets --list
loom widgets --show Chart
Go library
Applications can use loom directly for selection, editing, layout, and terminal rendering.
go get ubunatic.com/loom