public void saveCursorPos() {
		savedX = curX;
		savedY = curY;
	}
Save the current cursor position

<p>
There is only one slot for the saved cursor. It is not a stack or anything fancy. To restore
the cursor, use {@link #restoreCursorPos()}. The advantage to using this vice
{@link #getCurX()} and {@link #getCurY()} to save it externally, is that the buffer will
adjust the saved position if the buffer is resized via {@link #resize(int, int)}.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/vt/VtBuffer.java