applyMonochromeAndFlushOverrides

Override CoreSettings.monochrome and potentially CoreSettings.flush if the terminal seems to not truly be a terminal (such as a pager, or a non-whitelisted IDE terminal emulator).

The idea is to generally override monochrome to true if it's a pager, but keep monochrome and override flush to true if it's a whitelisted environment.

@safe @system
void
applyMonochromeAndFlushOverrides
(
ref bool monochrome
,
ref bool flush
)

Parameters

monochrome bool

Reference to monochrome setting bool.

flush bool

Reference to flush setting bool.

Meta