isUserScrolling property

bool get isUserScrolling

Indicated whether the terminal should automatically scroll to bottom when new lines are added. When user is scrolling, isUserScrolling is true and the automatical scroll-to-bottom behavior is disabled.

Implementation

bool get isUserScrolling {
  return _scrollOffsetFromBottom != 0;
}