khalidabuhakmeh / ConsoleTables

Print out a nicely formatted table in a console application C#
MIT License
948 stars 158 forks source link

Multiline #60

Closed mattkbach closed 6 months ago

mattkbach commented 2 years ago

Hello

Just wondering if it is possible to use a newline within a row/column to create a multiline effect. Currently when I use \n it creates a whole new line and messes up the table format.

Thanks!

khalidabuhakmeh commented 1 year ago

I don't think this library supports it, but it would be a fun thing to try and attempt if you want to take a crack at it.

PolarGoose commented 6 months ago

I have encountered the same use case. Unfortunately, the library doesn't support it.

khalidabuhakmeh commented 6 months ago

I recommend you use Spectre Console. That project is excellent and has figured out how to redraw when the console width changes.

This project was always meant to be a fun experiment in writing and publishing a NuGet package.