I am currently working on a new library called Tabulate which provides a Kotlin DSL for formatting data in monospace text tables. This is mainly useful for CLI applications. If you are interested, have a look here:
I’ve used it already in some personal projects and I feel like its becoming mature enough for a 1.0 release. Before doing this though I’d appreciate some feedback from other Kotlin users.
The 0.x versions are already publicly available but are considered to be in beta stage.
It looks nice, though I haven’t been able to look at it fully. I see that you have smart treatment of ANSI escape sequences. Do you also have special treatment for Unicode double-width characters, zero-width non-breaking spaces, combining diacritic marks, and other such things?
Thanks for your response, Tabulate does not yet have a special treatment of Unicode characters with unusal widths, but that could be an option for the future. I’ll add it to the issue list and once I find time for it, I’ll see what is possible.