Skip to content

Commit

Permalink
📚 Add initial documentation related to the overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
ronisbr committed Jun 1, 2020
1 parent 407ae3f commit b62df93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/src/man/text_backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ passed as keywords when calling the function `pretty_table`:
* `nosubheader`: If `true`, then the sub-header will not be printed, *i.e.* the
header will contain only one line. Notice that this option has
no effect if `noheader = true`. (**Default** = `false`)
* `overwrite`: If `true`, then the same number of lines in the printed table
will be deleted from the output `io`. This can be used to update
the table in the screen continuously. (**Default** = `false`)
* `same_column_size`: If `true`, then all the columns will have the same size.
(**Default** = `false`)
* `screen_size`: A tuple of two integers that defines the screen size (num. of
Expand Down
3 changes: 3 additions & 0 deletions src/print.jl
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ This back-end produces text tables. This back-end can be used by selecting
* `nosubheader`: If `true`, then the sub-header will not be printed, *i.e.* the
header will contain only one line. Notice that this option has
no effect if `noheader = true`. (**Default** = `false`)
* `overwrite`: If `true`, then the same number of lines in the printed table
will be deleted from the output `io`. This can be used to update
the table in the screen continuously. (**Default** = `false`)
* `same_column_size`: If `true`, then all the columns will have the same size.
(**Default** = `false`)
* `screen_size`: A tuple of two integers that defines the screen size (num. of
Expand Down

0 comments on commit b62df93

Please sign in to comment.