libaescprintf (ANSI Escape Sequence Color Print Format).¶
library: | libaescprintf |
---|---|
version: | latest |
author: | Brüggemann Eddie |
contact: | <mrcyberfighter@gmail.com> |
license: | LGPLv3 |
website: | <http://www.open-source-projects.net/libaescprintf/libaescprintf> |
release: | Sep 14, 2017 |
Introduction¶
libaescprintf is a little library based on the
ANSI escape sequences
and only compatiblewith terminals ANSI escape sequences compliant terminals.
Most of terminal that I have tested works well but not all.
But in addition libaescprintf provides
some styles features like bold, strike-trough, italic, and so on...
Note
You can insert the ANSI escapes sequences
into an echo command or using the binary tput
but with this library you can use it into a source code.
note: The goal of this library is to provide a lightweight textual pretty output.
libaescprintf¶
libaescprintf can be divided into 2 different output functions types.
printf(...)()
For simply formatting the output.
and
fprintf(...)()
For using the
FILE *
stream you want.And why not serializing to a file...
libaescprintf can be divided into background and foreground colors.
The colors can be divided into Light and Dark colors.
libaescprintf provides styles features.