(&mut self, max_total_width: usize)
| 592 | } |
| 593 | |
| 594 | fn end_table(&mut self, max_total_width: usize) -> Vec<Line<'static>> { |
| 595 | self.in_table = false; |
| 596 | self.render_table(max_total_width.max(1)) |
| 597 | } |
| 598 | |
| 599 | /// Calculate column widths based on content and fit them in the available width. |
| 600 | fn calculate_column_widths(&self, max_total_width: usize) -> Vec<usize> { |