Skip to content
showing the ANSI color on the terminal
C Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
README.md
ansi_color_code.txt
cecho_screenshot.png
makefile

README.md

cecho

Or colorize echo, is a simple C Language code that allows you seeing the output of ANSI COLOR CODE.

The only thing you need is just the gcc compiler to compile the code and then use it.
Or simply you can use make command:
Of course first: git clone https://github.com/k-five/cecho.git

and then:

cd cecho
make build
make test
make clean

Without make and using gcc directly:

gcc -O2 -std=c11 main.c -o cecho

Some examples:

  • cecho green some-test
  • cecho b-green some-test
  • cecho i-green * endl
  • cecho random * endl

screenshot:

cecho_screenshot

You can’t perform that action at this time.