flip-tables icon indicating copy to clipboard operation
flip-tables copied to clipboard

Provide way to customize divider characters, should be basic ascii

Open bitsofinfo opened this issue 8 years ago • 5 comments

So right now all the dividers are special chars like "╚═══╝". This really needs to be customizable so people can choose to use more basic ascii chars that won't break downstream consumers of log files w/ this data that cannot easily consume UTF8

bitsofinfo avatar May 24 '17 14:05 bitsofinfo

What character set are these from anyways?

bitsofinfo avatar May 24 '17 14:05 bitsofinfo

The One True Character Set™ that is UTF-8. Not sure why you'd use anything else nowadays.

JakeWharton avatar Jun 29 '17 20:06 JakeWharton

Not my choice, downstream consumers of logs from an application that generates this output can't handle those chars, need an option to format it differently then the hard-coded defaults currently in place.

bitsofinfo avatar Jun 29 '17 20:06 bitsofinfo

@bitsofinfo If you're still looking for a way to print basic ASCII tables, try ASCIITable. It worked for my simple use case when I found Flip Tables doesn't support non-Unicode borders.

starwarswii avatar Jul 06 '17 19:07 starwarswii

@starwarswii thanks! however it would w/ this PR https://github.com/JakeWharton/flip-tables/pull/15

bitsofinfo avatar Jul 06 '17 19:07 bitsofinfo