simple c library for formatting print statements
git submodule add git@github.com:abschill/pstyle.git pstyle
#include "pstyle/color.h"
int main() {
printf("%s%s", red.text, "Hello in Red")
}
red
green
yellow
blue
purple
cyan
black
<color>.text
- apply color to text<color>.bg
- apply color to bg<color>.bold
- bolden the text with the given color<color>.underline
- underline the text with the given color<color>.hi
- text with high intensity<color>.bhi
- bold text with high intensity
COLOR_RESET
- resets the terminal styles inline