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 }