Bad output with multilines table when we hide left border
vincentchabannes opened this issue · comments
I have some troubles when we hide the left border with a table composed of several lines. With this code :
Table table;
table.add_row({"key","value1\nvalue2"});
table[0][0].format().hide_border_left();
Table table2;
table2.add_row({table});
std::cout << "first table :\n" << table << std::endl;
std::cout << "second table :\n" << table2 << std::endl;
My result is :
first table :
+-----+--------+
key | value1 |
| value2 |
+-----+--------+
second table :
+------------------+
| +-----+--------+ |
| key | value1 | |
| | value2 | |
| +-----+--------+ |
+------------------+
any hints or it’s an issue?