public void tab() {
		int n = TAB_WIDTH + (-curX % TAB_WIDTH);
		moveCursorRight(n, false, false);
	}
More the cursor forward to the next tab stop
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/vt/VtBuffer.java