console-table-printer icon indicating copy to clipboard operation
console-table-printer copied to clipboard

Split also long paths into multi line

Open alinex opened this issue 4 years ago • 2 comments

If I have a very long path in my table, is it possible to also split after / character?

Example: /home/user/project/subproject/category/66623/contents/fd6873d67a3f3d67a3.jpg

Should be in the table (with maxLen) something like:

/home/user/project/subproject/
category/66623/contents/
fd6873d67a3f3d67a3.jpg

alinex avatar Jul 05 '21 06:07 alinex

Sounds like a good idea. Max Length should not exceed even if words are bigger

ayonious avatar Jul 05 '21 13:07 ayonious

  • you are also mentioning to have a special chat based on which lines will be splitted. Missed that point. Gotta check that out as well

ayonious avatar Jul 06 '21 07:07 ayonious