Textualize / rich

Rich is a Python library for rich text and beautiful formatting in the terminal.
https://rich.readthedocs.io/en/latest/
MIT License
49.57k stars 1.73k forks source link

[REQUEST] Add vertical (left and right) header columns to table rendering #3564

Open kevinli1993 opened 2 hours ago

kevinli1993 commented 2 hours ago

It'd be great to have a new Box enum which specifies that the first (or last, or both) columns in a table should be separated by a vertical bar. For example:

      |   A    B    C
------+-----------------
   x  |  ...  ...  ...
   y  |  ...  ...  ...
   z  |  ...  ...  ...

here, the x, y, z are row labels that make up the first column in the table. (This leading column also has no header.)

github-actions[bot] commented 2 hours ago

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory