hug33k / FancyDisplay

FancyDisplay for C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FancyDisplay Build Status

FancyDisplay is an easy way to have a colorful display in your terminal. You can choose your color, your style and write your message with only few lines.

Usage

FancyMsg    msg;

msg = FancyDisplay_newMessage("Your message", CYAN, BOLD);
FancyDisplay_showMessage(msg);

You can see more here

Tests

You can find code examples in tests folder.

make test
./tests/bins/[TEST NAME]

Informations

  • Available modes

    • FancyMsg
    • FancyInfo (Works with FancyStatus)
    • FancyTable
  • Available colors

    • Black
    • Red
    • Green
    • Yellow
    • Blue
    • Purple
    • Cyan
    • White
  • Available types

    • Normal
    • Bold
    • Underline
    • Background

TODO

  • FancyDisplay_printf(char *, ...)
    • Modified printf with %FD flag
  • TABINDX in FancyCfg for FancyTable
    • Display row/column number when FancyTable is displayed

About

FancyDisplay for C

License:MIT License


Languages

Language:C 95.8%Language:Makefile 4.2%