olekukonko / tablewriter

ASCII table in golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request : Support for multiline cell content

anirudh-chhangani opened this issue · comments

This will enable us to print table inside a table.

ex -

+-------------------------+------------------------------+
| Title 1                 | Title 2                      |
+-------------------------+------------------------------+
| This is                 | foo                          |
| a multiline             |                              |
| cell                    |                              |
+-------------------------+------------------------------+
|                         | +---------+------+---------+ |
| print tables            | | ABC     | DEFG | HIJKLMN | |
| into tables             | +---------+------+---------+ |
|                         | | foobar  | bar  | foo     | |
|                         | +---------+------+---------+ |
|                         | | foobar2 | bar2 | foo2    | |
|                         | +---------+------+---------+ |
+-----------------------