setCursor method

void setCursor(
  1. int n
)

Sets the cursor position (parity with bubbles).

Implementation

void setCursor(int n) {
  cursor = n;
}