AddSeparator adds a row of dashes sized to match column widths. The actual dash strings are computed in Flush.
()
| 33 | // AddSeparator adds a row of dashes sized to match column widths. |
| 34 | // The actual dash strings are computed in Flush. |
| 35 | func (tw *TableWriter) AddSeparator() { |
| 36 | tw.rows = append(tw.rows, tableRow{isSep: true}) |
| 37 | } |
| 38 | |
| 39 | // AddRow adds a data row. plain holds the visible text for width calculation; |
| 40 | // colored holds the text to render (may contain ANSI codes). |
no outgoing calls