douglasg14b / BetterConsoleTables

Faster, colorable, more configurable, and more robust console colors & tables for C# console applications
GNU Lesser General Public License v3.0
92 stars 16 forks source link

Text wrapping #3

Open douglasg14b opened 6 years ago

douglasg14b commented 6 years ago

I've already created a performance friendly text-wrapping method, but the current table generation logic doesn't enable cells to be dynamically sized vertically.

zinc1oxide commented 2 years ago

What is the status of this enhancement? I noticed the TableConfig.wrapText and TableConfig.textWrapLimit public variables that are unused. Is this a placeholder for the enhancement? Also, what is the performance-friendly text-wrapping method for if we can’t apply it to our table output? Thanks.

douglasg14b commented 2 years ago

Largely when I get to it.

I work on this project when I have the time/motivation/energy. I resolve bugs immediately, but features are worked on when I feel motivated to.

Text wrapping is on the backlog, behind a more usable API for table configuration.

Also, what is the performance-friendly text-wrapping method for if we can’t apply it to our table output?

I made it for fun, it wraps text in a single loop over a string. That's the only reason it exists, just been looking for a real-world use case to put it to use.