Skip to content
This repository was archived by the owner on Dec 7, 2021. It is now read-only.

Commit 7366bdf

Browse files
committed
Updated README for 1.0.2
1 parent 13a293c commit 7366bdf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,17 @@ re-instantiate if you change any of the class attributes, including `table_data`
109109
Name | Description/Notes
110110
:--- | :----------------
111111
`column_widths` | Returns a list with the current column widths (one int per column) without padding.
112+
`ok` | Returns True if the table fits within the terminal width, False if the table breaks.
112113
`padded_table_data` | Returns the padding table data. With spaces and newlines. Does not include borders.
113114
`table` | Returns a large string, the whole table. This may be printed to the terminal.
115+
`table_width` | Returns the width of the table including padding and borders.
114116

115117
## Changelog
116118

119+
#### 1.0.2
120+
121+
* Added `table_width` and `ok` properties.
122+
117123
#### 1.0.1
118124

119125
* Added terminal width/height defaults for testing:

0 commit comments

Comments
 (0)