https://github.com/qshuai/tcolor
A convenient package for colorful terminal output written in Go
https://github.com/qshuai/tcolor
convenient golang terminal-colors
Last synced: 5 months ago
JSON representation
A convenient package for colorful terminal output written in Go
- Host: GitHub
- URL: https://github.com/qshuai/tcolor
- Owner: qshuai
- Created: 2018-09-02T11:49:28.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-03T02:24:50.000Z (almost 8 years ago)
- Last Synced: 2024-06-20T17:34:03.741Z (almost 2 years ago)
- Topics: convenient, golang, terminal-colors
- Language: Go
- Size: 202 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
tcolor
===
tcolor aims to supply a convenient package for formating your **colorful terminal output**. At the current version, tcolor supports eight different colors(Black、 Red、Green、Yellow、Blue、Purple、Cyan、White) with four kinds of style(regular、bold、underline、background). If you get interesting colors style, please contribute to this repository.
#### Usage:
Please reference to [example](https://github.com/qshuai/tcolor/blob/master/example/main.go).
#### Style Display:

#### Bugs:
- The background mode will affect the next line.