diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2019-04-21 00:26:09 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2019-04-21 00:26:09 +0000 |
commit | b6a2fd887a31d5b4e0d96ae164b6c38609c9d187 (patch) | |
tree | d8cd98dbdd8e4d1cc9f6fbbc4a68c58594331066 /textproc/p5-Text-ANSITable/pkg-descr | |
parent | 98fdd8ed25d8ab2df9e981bc84ffee357111fc33 (diff) | |
download | ports-b6a2fd887a31d5b4e0d96ae164b6c38609c9d187.tar.gz ports-b6a2fd887a31d5b4e0d96ae164b6c38609c9d187.zip |
Add p5-Text-ANSITable
Text::ANSITable is yet another text table formatter module like Text::ASCIITable
or Text::SimpleTable, with the following differences:
- Colors and color themes: ANSI color codes will be used by default (even 256
and 24bit colors), but will degrade to lower color depth and black/white
according to terminal support.
- Box-drawing characters: Box-drawing characters will be used by default, but
will degrade to using normal ASCII characters if terminal does not support them.
- Unicode and wide character support: Border styles using Unicode characters
(double lines, bold/heavy lines, brick style, etc). Columns containing wide
characters stay aligned. (Note: support for wide characters requires
Text::ANSI::WideUtil which is currently set as an optional prereq, so you'll
need to install it explicitly or set your CPAN client to install 'recommends'
prereq).
Compared to Text::ASCIITable, it uses lower_case method/attr names instead of
CamelCase, and it uses arrayref for columns and add_row. When specifying border
styles, the order of characters are slightly different. More fine-grained
options to customize appearance.
WWW: https://metacpan.org/release/Text-ANSITable
Notes
Notes:
svn path=/head/; revision=499517
Diffstat (limited to 'textproc/p5-Text-ANSITable/pkg-descr')
-rw-r--r-- | textproc/p5-Text-ANSITable/pkg-descr | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/textproc/p5-Text-ANSITable/pkg-descr b/textproc/p5-Text-ANSITable/pkg-descr new file mode 100644 index 000000000000..9a2493e8096b --- /dev/null +++ b/textproc/p5-Text-ANSITable/pkg-descr @@ -0,0 +1,20 @@ +Text::ANSITable is yet another text table formatter module like Text::ASCIITable +or Text::SimpleTable, with the following differences: +- Colors and color themes: ANSI color codes will be used by default (even 256 + and 24bit colors), but will degrade to lower color depth and black/white + according to terminal support. +- Box-drawing characters: Box-drawing characters will be used by default, but + will degrade to using normal ASCII characters if terminal does not support them. +- Unicode and wide character support: Border styles using Unicode characters + (double lines, bold/heavy lines, brick style, etc). Columns containing wide + characters stay aligned. (Note: support for wide characters requires + Text::ANSI::WideUtil which is currently set as an optional prereq, so you'll + need to install it explicitly or set your CPAN client to install 'recommends' + prereq). + +Compared to Text::ASCIITable, it uses lower_case method/attr names instead of +CamelCase, and it uses arrayref for columns and add_row. When specifying border +styles, the order of characters are slightly different. More fine-grained +options to customize appearance. + +WWW: https://metacpan.org/release/Text-ANSITable |