Terminal inspection · ANSI validation · inline interfaces

loom — terminal tools and reusable Go widgets

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.

Install
go install ubunatic.com/loom/cmd/loom@latest

View source

Related skills

Browse 31 registered skills

Terminal inspection

Check the terminal and its output

info

Report terminal dimensions, environment capabilities, colour depth, mouse support, and Unicode width.

measure

Measure visible row widths in terminal cells, accounting for ANSI control sequences and wide characters.

eval

Evaluate terminal dimensions and row geometry, with optional diagnostic annotations.

ANSI asset validation

Validate and normalize terminal artwork

check-box

Validate Unicode box-border alignment across one or more files.

format

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

View terminal artwork in place

The view command interactively displays an ANSI file while preserving the surrounding terminal context.

Live widget demos

Try the interactive widgets

frame

Wrap file contents in a Unicode border with configurable style, title, padding, and colour.

widgets

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

Reusable inline terminal UI

Applications can use loom directly for selection, editing, layout, and terminal rendering.

go get ubunatic.com/loom