Skip to content
/ ColorC Public

An easy-to-use, single-header C/C++ library for printing rich text to the terminal

Notifications You must be signed in to change notification settings

gugu256/ColorC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColorC

(name suggested by an AI)

ColorC is an easy-to-use, single-header C/C++ library for printing rich text to the terminal

A screenshot of ColorC's demo program

Installation

To install ColorC, download the library's header colorc.h here And add it to your C/C++ project

Then, inside of your C/C++ file, add this code snippet:

#include "colorc.h"

And you're good to go!

Usage

The demo.c file is an demo file showing you how to use ColorC, check it out to learn ColorC

ColorC supports 8 colors for background and foreground. These colors are :

  • Black
  • Red
  • Green
  • Yellow
  • Blue
  • Magenta
  • Cyan
  • White

It also supports 7 styles (some of them are not supported everywhere though) The styles are :

  • Bold
  • Dim
  • Italic
  • Underline
  • Blink
  • Framed
  • Encircled

About

An easy-to-use, single-header C/C++ library for printing rich text to the terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages