public void moveCursorRight(int n, boolean wrap, boolean isCursorShowing) {
		if (wrap && curX + n >= cols) {
			checkVerticalScroll();
			curX = 0;
			lines.get(curY).wrappedToNext = true;
			curY++;
			bottomY = Math.max(bottomY, curY);
			if (isCursorShowing) {
				checkVerticalScroll();
			}
		}
		else {
			curX = Math.max(0, Math.min(curX + n, cols - 1));
		}
	}
Move the cursor right (forward) n columns

<p>
The cursor is clamped into the display. If wrap is specified and the cursor would exceed the
right side of the display, the cursor will instead be wrapped to the start of the next line,
possibly scrolling the viewport down. (It doesn't matter how far the cursor exceeds the
right; the cursor moves down exactly one line.) The value of n must be positive, otherwise
behavior is undefined. To move the cursor left, use {@link #moveCursorLeft(int)}.

@param n the number of columns
@param wrap whether to wrap the cursor to the next line if it would exceed the right of the
           display
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/vt/VtBuffer.java