public void reset() {
		lines.clear();
		while (lines.size() < rows) {
			lines.add(new VtLine(cols));
		}
		curX = 0;
		curY = 0;
		scrollBack.clear();
	}
Clear the buffer and all state, as if it has just been created
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/vt/VtBuffer.java