2023-03-30 10:05:31 -04:00
|
|
|
+ libcolor
|
|
|
|
|
|
|
|
A library to style programs with command-line interaction. Includes colors and symbols.
|
|
|
|
|
2023-03-30 14:14:41 -04:00
|
|
|
+ Usage
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "libcolor.h"
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
printf(COL_RED "red\n" COL_RESET);
|
|
|
|
printf(COL_BLUE "blue\n" COL_RESET);
|
|
|
|
printf(TXT_BOLd "bold\n" TXT_RESET);
|
|
|
|
}
|
|
|
|
|
2023-03-30 10:05:31 -04:00
|
|
|
+ Installation
|
|
|
|
|
|
|
|
Run 'make install' to install the header file. It will install info $(PREFIX)/include.
|