childRect method

Terminal childRect(
  1. Rect rect
)

Get a child Terminal within this one, defined by the given rect.

Implementation

Terminal childRect(Rect rect) {
  return child(rect.x, rect.y, rect.width, rect.height);
}