public static Erasure fromED(int n) {
			return switch (n) {
				case 0 -> TO_DISPLAY_END;
				case 1 -> TO_DISPLAY_START;
				case 2 -> FULL_DISPLAY;
				case 3 -> FULL_DISPLAY_AND_SCROLLBACK;
				default -> TO_DISPLAY_END;
			};
		}
Derive the erasure specification from the parameter to the Erase Display (ED) control
sequence

@param n the parameter
@return the erasure specification
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/vt/VtHandler.java