TerminalCellForegroundFilter typedef

TerminalCellForegroundFilter = bool Function(BufferLine line, int column)

Whether a cell's foreground (including decorations) should be painted.

Backgrounds, selection and cursor geometry are unaffected. The predicate may run again for selection/search recoloring and must not mutate the buffer.

Implementation

typedef TerminalCellForegroundFilter = bool Function(
    BufferLine line, int column);