All Tools
T
Dev ToolsFreeOpen Source
TERMENV
ANSI style and color for Go terminal apps
MIT
ABOUT
Agent CLIs and eval TUIs need color that matches the terminal without breaking pipes or CI logs. termenv detects the profile, applies true-color or 256-color styles, and keeps output readable on modern terminals and plain stdout.
INSTALL
go get github.com/muesli/termenvINTEGRATION GUIDE
1. Colorize model names and status lines in a Go agent CLI
2. Detect whether a CI job supports ANSI before printing traces
3. Style success, warn, and error output in an eval runner
4. Theme TUI status bars with true color when the terminal allows it
TAGS
goterminalansicolorclitui