public void moveCursorUp(int n) {
		curY = Math.max(0, curY - n);
	}
Move the cursor up n rows

<p>
The cursor cannot move above the top of the display. The value of n must be positive,
otherwise behavior is undefined. To move the cursor down, use {@link #moveCursorDown(int)}.

@param n the number of rows to move the cursor up
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/vt/VtBuffer.java