D.A.B.Tv0.0.17 Tutorial API DABT Tools ↗ GitHub ↗

tui.ansi

tui.ansi ID [STATE]

Prints the ANSI escape prefix of a widget or pane style (no reset). A state without rules falls back to normal.

Notes

  • Runs in a subshell when used as $(tui.ansi ...); in loops prefer tui.style.sgr.