astanin / python-tabulate

Pretty-print tabular data in Python, a library and a command-line utility. Repository migrated from bitbucket.org/astanin/python-tabulate.
https://pypi.org/project/tabulate/
MIT License
2.08k stars 162 forks source link

wasted horizontal space #317

Open ale-dd opened 4 months ago

ale-dd commented 4 months ago

Here's a column from a table in fancy_outline format. Taken from the current tip of master, such that multiline cells for another column to the right of the offending one work correctly -- and that's the reason for the three empty lines in this column. What I don't like is that there are at least 3 completely white characters to the right of each cell in this column. One would have been enough and the other 2 seem completely unnecessary. I can't find a reason for them and therefore I assume they might be due to a bug.

╤═════════╤
│ k8sCl   │
╪═════════╪
│ main    │
│         │
│ infra   │
│         │
│ main    │
│         │
╧═════════╧