public void erase(Erasure erasure) {
		switch (erasure) {
			case TO_DISPLAY_END:
				if (curY >= lines.size()) {
					return;
				}
				for (int y = curY; y < rows; y++) {
					VtLine line = lines.get(y);
					if (y == curY) {
						line.clearToEnd(curX);
					}
					else {
						line.clear();
					}
				}
				return;
			case TO_DISPLAY_START:
				for (int y = 0; y <= curY; y++) {
					VtLine line = lines.get(y);
					if (y == curY) {
						line.clearToStart(curX, curAttrs);
					}
					else {
						line.clear();
					}
				}
				return;
			case FULL_DISPLAY:
				for (VtLine line : lines) {
					line.clear();
				}
				return;
			case FULL_DISPLAY_AND_SCROLLBACK:
				for (VtLine line : lines) {
					line.clear();
				}
				scrollBack.clear();
				return;
			case TO_LINE_END:
				if (curY >= lines.size()) {
					return;
				}
				lines.get(curY).clearToEnd(curX);
				return;
			case TO_LINE_START:
				if (curY >= lines.size()) {
					return;
				}
				lines.get(curY).clearToStart(curX, curAttrs);
				return;
			case FULL_LINE:
				if (curY >= lines.size()) {
					return;
				}
				lines.get(curY).clear();
				return;
		}
	}
Erase (clear) some portion of the display buffer

<p>
If the current line is erased from start to the cursor, the cursor's attributes are applied
to the cleared columns.

@param erasure specifies what, relative to the cursor, to erase.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/vt/VtBuffer.java