getFgMatrix method
Returns a 2D list of foreground colors as printable strings.
Implementation
List<List<String>> getFgMatrix() => bufferState
.map(
(row) => row
.map((cell) => (cell.foregroundColor?.printableFg ?? 'default'))
.toList(),
)
.toList();