terminal property

DVTerminalSurface? get terminal

The terminal being drawn into, or null when this is a GUI.

Implementation

DVTerminalSurface? get terminal =>
    surface == DVRenderSurface.terminal ? _terminal : null;