An open API service indexing awesome lists of open source software.

https://github.com/shakibamoshiri/cecho

showing the ANSI color on the terminal
https://github.com/shakibamoshiri/cecho

ansi-colors color-on-terminal echo

Last synced: 6 months ago
JSON representation

showing the ANSI color on the terminal

Awesome Lists containing this project

README

          

### cecho
Or colorize echo, is a simple `C` Language code that allows you seeing the output of [ANSI COLOR CODE](https://en.wikipedia.org/wiki/ANSI_escape_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](https://github.com/k-five/cecho/blob/master/cecho_screenshot.png)