attached property

bool get attached
inherited

Whether this item is currently stored in a buffer: a line read from a terminal stays attached until the terminal changes.

Implementation

bool get attached => _owner?.isCurrent(_epoch) ?? false;