From 3af29652c187d79882b35b7dc208cd9225f6653a Mon Sep 17 00:00:00 2001 From: Liam Waldron Date: Thu, 30 Mar 2023 14:14:41 -0400 Subject: [PATCH] update README with usage --- README | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README b/README index 8a298d2..236ce70 100644 --- a/README +++ b/README @@ -2,6 +2,17 @@ A library to style programs with command-line interaction. Includes colors and symbols. ++ Usage + + #include + #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.