Alle Optionen
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Quellcode: golang-github-alecthomas-colour  ]

Paket: golang-github-alecthomas-colour-dev (0.0~git20160524.60882d9-1)

Links für golang-github-alecthomas-colour-dev

Screenshot

Debian-Ressourcen:

Quellcode-Paket golang-github-alecthomas-colour herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

Quake-style colour formatting for Unix terminals

Go package colour provides Quake-style colour formatting for Unix terminals.

The package level functions can be used to write to stdout (or strings or other files). If stdout is not a terminal, colour formatting will be stripped.

Example:

    colour.Printf("^0black ^1red ^2green ^3yellow ^4blue ^5magenta ^6cyan
                   ^7white^R\n")

For more control, a Printer object can be created with various helper functions. This can be used to do useful things such as strip formatting, write to strings, and so on.

Andere Pakete mit Bezug zu golang-github-alecthomas-colour-dev

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

golang-github-alecthomas-colour-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 4,5 kB23,0 kB [Liste der Dateien]