Closed skywyx closed 1 year ago
Thanks for your suggestion. It's easy to achieve by forking https://github.com/tatsushid/go-prettytable/ and editing the function truncateString.
But I might use other new methods. #206
Implemented. Please check here: https://github.com/shenwei356/csvtk/issues/206#issuecomment-1609358555
I think it's better to mark it when a record is truncated by
csvtk pretty
with-W
. e.g.when use cmd
cat test.csv|csvtk pretty -W 2
it's better to show asjust like it was shown with pandas