euporie.core.ft.table.compute_lines
- euporie.core.ft.table.compute_lines(cell: Cell, width: int, render_count: int = 0) list[StyleAndTextTuples]
Wrap the cell’s text to a given width.
- Parameters:
cell – The cell whose lines to compute
width – The width at which to wrap the cell’s text.
render_count – The number of times the application has been rendered
- Returns:
A list of lines of formatted text