Recent Releases of https://github.com/tj/terminal-table
https://github.com/tj/terminal-table - 4.0.0
Non-unicode characters are no longer supported. They will be replaced.
Headings may be set to nil.
unicode-display-width version 3 supported.
- Ruby
Published by nateberkopec about 1 year ago
https://github.com/tj/terminal-table - 3.0.1
3.0.1 / 2021-05-10
- Support for unicode-display_width 2.0
- Fix issue where last row of an empty table changed format
- Ruby
Published by nateberkopec almost 5 years ago
https://github.com/tj/terminal-table - 3.0.0
- Support for (optional) Unicode border styles on tables. In order to support decent looking Unicode borders, different types of intersections get different types of intersection characters. This has the side effect of subtle formatting differences even for the ASCII table border case due to removal of certain intersections near colspans.
For example, previously the output of a table may be:
+------+-----+
| Title |
+------+-----+
| Char | Num |
+------+-----+
| a | 1 |
| b | 2 |
| c | 3 |
+------+-----+
And now the + character above the word Title is removed, as it is no longer considered an intersection:
+------------+
| Title |
+------+-----+
| Char | Num |
+------+-----+
| a | 1 |
| b | 2 |
+------+-----+
- The default border remains an ASCII border for backwards compatibility, however multiple border classes are included / documented, and user defined border types can be applied as needed.
In support of this update, the following issues were addressed:
- colspan creates conflict with colorize (#95)
- Use nice UTF box-drawing characters by default (#99)
- Note that
AsciiBorderis stll the default
- Note that
- Border-left and border-right style (#100)
- Helper function to style as Markdown (#111)
- Achieved using
MarkdownBorder
- Achieved using
- Ruby
Published by nateberkopec almost 5 years ago
https://github.com/tj/terminal-table - 2.0.0
Requires Ruby 2.4+
- Protect against nil in column/row loop (#92)
- Remove unicode display string extensions (#104)
- Ruby
Published by nateberkopec over 5 years ago
https://github.com/tj/terminal-table - 1.8.0
-
Top and bottom borders can be disabled (@kubakrzempek, #83)
-
unicode-display-widthdependency relaxes (@mvz, #88) -
Readme and docs fixes (@loualrid, #82 and @leoarnold, #86)
-
Fixed some test-related warnings (@juanitofatas, #81 and @mvz, #89)
- Ruby
Published by nateberkopec almost 9 years ago
https://github.com/tj/terminal-table - 1.7.3
- Fixed compatibility issues for Ruby 1.9, 2.0, 2.1. (@vivekbisen, #80)
- Ruby
Published by nateberkopec almost 9 years ago
https://github.com/tj/terminal-table - 1.6.0
- Added table styles - margin_left, all_separators.
- Ruby
Published by nateberkopec almost 10 years ago