pause function

void pause(
  1. int height,
  2. bool isPaused
)

Implementation

void pause(int height, bool isPaused) {
  moveCursor(Point(0, height + 4));
  clearLine(height + 4);
  // Note: isPaused is returned as a new value, not modified in place
}