= 768" x-on:close-sidebar="sidebar=window.innerWidth >= 768 && true">
Print with style in your terminal using Format's semantic tags
Install
copied = false, 2000)"
:class="{ 'border-gray-700': !copied, 'text-gray-100': !copied, 'focus:ring-orange-500': !copied, 'focus:border-orange-500': !copied, 'border-green-600': copied, 'text-green-600': copied, 'focus:ring-green-500': copied, 'focus:border-green-500': copied }">
Authors
Maintainers
Sources
1.3.0.tar.gz
md5=69d812bbe75df142ad093680ce5a1452
sha512=4d51bf2f5037f67ce262c97896bc8babd9b2beeeb00c492fdaa337b07ed61aa46b9dd1d3feba95a4940f9c0030dd712e8baecbcf94be6d81fdb3d752622d12fc
Description
This package provides a nice way to use ANSI escape codes thanks to Format's semantic tags. This mode is compositional: ending a style restore the previous one, instead of destroying everything. This package also allows using directly ANSI escape codes (with Printf).
Note that this library does not intend to handle anything else than ANSI escape codes (in particular, not the old Windows style of styling). Moreover, it aims to be as pure as possible, so insensitive to the environment. As a consequence, there is no mechanism to detect terminal's settings. However, some configuration is possible, but must be done manually.
Published: 09 Jan 2022
On This Page