clear method

void clear()

Clears the visible terminal buffer.

Implementation

void clear() => _clear?.call();