getBgMatrix method
Returns a 2D list of background colors as printable strings.
Implementation
List<List<String>> getBgMatrix() => bufferState
.map(
(row) => row
.map((cell) => (cell.backgroundColor?.printableBg ?? 'default'))
.toList(),
)
.toList();