BetterConsoleTables icon indicating copy to clipboard operation
BetterConsoleTables copied to clipboard

Text wrapping

Open douglasg14b opened this issue 7 years ago • 2 comments
trafficstars

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.

douglasg14b avatar Dec 31 '17 00:12 douglasg14b

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.

zinc1oxide avatar Feb 02 '22 13:02 zinc1oxide

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.

douglasg14b avatar Feb 03 '22 23:02 douglasg14b