Color codes ruin width calculation.
mtsoltan opened this issue · 0 comments
mtsoltan commented
uutils's ls --color
re-calculates widths, passing them explicitly to cells, because terminal colors ruin the width calculation of term-grid.
Ideally, term-grid should recognize color escape sequences and treat them as zero-width, or at least have a grid option which makes that possible, to allow out-of-the-box color handling.