Text::ANSITable::BorderStyle::Default - Default border styles
This document describes version 0.40 of Text::ANSITable::BorderStyle::Default (from Perl distribution Text-ANSITable), released on 2015-03-05.
Please visit the project's homepage at https://metacpan.org/release/Text-ANSITable.
Source repository is at https://github.com/perlancar/perl-Text-ANSITable.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Text-ANSITable
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2015 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Below are the border styles included in this package:
Bold (utf8: yes, box_chars: no).
┏━━━━━━━━━┳━━━━━━━━━┓ ┃ column1 ┃ column2 ┃ ┣━━━━━━━━━╋━━━━━━━━━┫ ┃ row1.1 ┃ row1.2 ┃ ┃ row2.1 ┃ row3.2 ┃ ┣━━━━━━━━━╋━━━━━━━━━┫ ┃ row3.1 ┃ row3.2 ┃ ┗━━━━━━━━━┻━━━━━━━━━┛
Single, bold on bottom right to give illusion of depth (utf8: yes, box_chars: no).
┌─────────┬─────────┒ │ column1 │ column2 ┃ ├─────────┼─────────┨ │ row1.1 │ row1.2 ┃ │ row2.1 │ row3.2 ┃ ├─────────┼─────────┨ │ row3.1 │ row3.2 ┃ ┕━━━━━━━━━┷━━━━━━━━━┛
Single, outer only, bold on bottom right to give illusion of depth (utf8: yes, box_chars: no).
┌───────────────────┒ │ column1 column2 ┃ │ ┃ │ row1.1 row1.2 ┃ │ row2.1 row3.2 ┃ ├───────────────────┨ │ row3.1 row3.2 ┃ ┕━━━━━━━━━━━━━━━━━━━┛
Curved single (utf8: yes, box_chars: no).
╭─────────┬─────────╮ │ column1 │ column2 │ ├─────────┼─────────┤ │ row1.1 │ row1.2 │ │ row2.1 │ row3.2 │ ├─────────┼─────────┤ │ row3.1 │ row3.2 │ ╰─────────┴─────────╯
Double (utf8: yes, box_chars: no).
╔═════════╦═════════╗ ║ column1 ║ column2 ║ ╠═════════╬═════════╣ ║ row1.1 ║ row1.2 ║ ║ row2.1 ║ row3.2 ║ ╠═════════╬═════════╣ ║ row3.1 ║ row3.2 ║ ╚═════════╩═════════╝
No border (utf8: no, box_chars: no).
column1 column2 row1.1 row1.2 row2.1 row3.2 ------------------- row3.1 row3.2
No border (utf8: no, box_chars: yes).
No border (utf8: yes, box_chars: no).
column1 column2 row1.1 row1.2 row2.1 row3.2 ─────────────────── row3.1 row3.2
Single (utf8: no, box_chars: no).
.---------+---------. | column1 | column2 | +---------+---------+ | row1.1 | row1.2 | | row2.1 | row3.2 | +---------+---------+ | row3.1 | row3.2 | `---------+---------'
Single (utf8: no, box_chars: yes).
Single (utf8: yes, box_chars: no).
┌─────────┬─────────┐ │ column1 │ column2 │ ├─────────┼─────────┤ │ row1.1 │ row1.2 │ │ row2.1 │ row3.2 │ ├─────────┼─────────┤ │ row3.1 │ row3.2 │ └─────────┴─────────┘
Single, horizontal only (utf8: no, box_chars: no).
--------------------- column1 column2 --------------------- row1.1 row1.2 row2.1 row3.2 --------------------- row3.1 row3.2 ---------------------
Single, horizontal only (utf8: no, box_chars: yes).
Single, horizontal only (utf8: yes, box_chars: no).
───────────────────── column1 column2 ───────────────────── row1.1 row1.2 row2.1 row3.2 ───────────────────── row3.1 row3.2 ─────────────────────
Single, inner only (like in psql command-line client) (utf8: no, box_chars: no).
column1 | column2 ---------+--------- row1.1 | row1.2 row2.1 | row3.2 ---------+--------- row3.1 | row3.2
Single, inner only (like in psql command-line client) (utf8: no, box_chars: yes).
Single, inner only (like in psql command-line client) (utf8: yes, box_chars: no).
column1 │ column2 ─────────┼───────── row1.1 │ row1.2 row2.1 │ row3.2 ─────────┼───────── row3.1 │ row3.2
Single, outer only (utf8: no, box_chars: no).
.-------------------. | column1 column2 | | | | row1.1 row1.2 | | row2.1 row3.2 | +-------------------+ | row3.1 row3.2 | `-------------------'
Single, outer only (utf8: no, box_chars: yes).
Single, outer only (utf8: yes, box_chars: no).
┌───────────────────┐ │ column1 column2 │ │ │ │ row1.1 row1.2 │ │ row2.1 row3.2 │ ├───────────────────┤ │ row3.1 row3.2 │ └───────────────────┘
Single border, only vertical (utf8: no, box_chars: no).
| | | | column1 | column2 | | | | | row1.1 | row1.2 | | row2.1 | row3.2 | |---------|---------| | row3.1 | row3.2 | | | |
Single, vertical only (utf8: no, box_chars: yes).
Single, vertical only (utf8: yes, box_chars: no).
│ │ │ │ column1 │ column2 │ │ │ │ │ row1.1 │ row1.2 │ │ row2.1 │ row3.2 │ │─────────│─────────│ │ row3.1 │ row3.2 │ │ │ │
Space as border (utf8: no, box_chars: no).
Space as border (utf8: no, box_chars: yes).
Space as border (utf8: yes, box_chars: no).
Space, inner-only (utf8: no, box_chars: no).
Space, inner-only (utf8: no, box_chars: yes).
Space, inner-only (utf8: yes, box_chars: no).
To install Text::ANSITable, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::ANSITable
CPAN shell
perl -MCPAN -e shell install Text::ANSITable
For more information on module installation, please visit the detailed CPAN module installation guide.