A small library for implementing colors and text styling.
Go to file
2023-05-02 11:58:18 -04:00
src libcolor 2.0.0 2023-05-02 11:58:18 -04:00
config.mk fix issues with make 2023-03-30 13:08:30 -04:00
LICENSE init 2023-03-30 10:05:31 -04:00
Makefile fix issues with make 2023-03-30 13:08:30 -04:00
README update README with usage 2023-03-30 14:14:41 -04:00

+ libcolor

A library to style programs with command-line interaction. Includes colors and symbols.

+ 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);
	}

+ Installation

Run 'make install' to install the header file. It will install info $(PREFIX)/include.