libBoxedText 1.0.24
C++ Library for displaying enriched text in an ASCII art box on a console terminal
libBoxedText

C++ Library for displaying enriched text in an ASCII art box on a console terminal

The libBoxedText library allows to choose each component of the frame in which text is displayed. The global alignment of the text can be specified and the text can be directly read from some file.

The library can deal with some few HTML-like keywords to locally change the formatting of the text.

Author
Alban MANCHERON alban.nosp@m..man.nosp@m.chero.nosp@m.n@li.nosp@m.rmm.f.nosp@m.r
Version
Package Version: 1.0.24
Library Version: 1.19.1 (The library version is different from the package version and follows the GNU libtool's versioning system)
Date
2015-2024

The printed content can be enriched by specific (HTML-like) tags in order to improve its display.

Currently, the supported tags are:

Tag Description
hr Display a horizontal line
p Delimit an parapgraph
br Force a line break
center Center the enclosed text
left Left align the enclosed text
right Right align the enclosed text
justify Justify the enclosed text
pre Print the text asis (do not interpret the tags but </pre>
color Modify the color of the enclosed text (see below)
b Display the enclosed text in bold font
i Display the enclosed text in italic
u Underline the enclosed text
blink Make the enclosed text blinking (if supported by the terminal)
reverse Do a reverse video

The color tag needs at least one of the following (key=value) parameters:

  • fg Set the foreground color
  • bg Set the background color

The following colors are accepted:

  • black
  • red
  • green
  • yellow
  • blue
  • magenta
  • cyan
  • white