项目作者: k-five

项目描述 :
showing the ANSI color on the terminal
高级语言: C
项目地址: git://github.com/k-five/cecho.git
创建时间: 2017-06-08T09:45:25Z
项目社区:https://github.com/k-five/cecho

开源协议:

下载


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:

  1. cd cecho
  2. make build
  3. make test
  4. make clean

Without make and using gcc directly:

  1. 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