color remainder fix

This commit is contained in:
pedrocarlo 2025-03-06 13:57:05 -03:00
parent 942c65224d
commit e77953ad7f

View file

@ -764,7 +764,7 @@ impl<'a> Limbo<'a> {
row.add_cell(
Cell::new(content)
.set_alignment(alignment)
.fg(COLORS[idx & COLORS.len()]),
.fg(COLORS[idx % COLORS.len()]),
);
}
table.add_row(row);