flag that indicates if the terminal is dirty (since the last time this flag has been queried)
@override bool get dirty { if (_lastState == null) { return false; } if (_lastState!.consumed) { return false; } _lastState!.consumed = true; return true; }