public void clearToStart(int x, VtAttributes attrs) {
		if (len <= x) {
			len = 0;
			wrappedToNext = false;
			return;
		}
		for (int i = 0; i <= x; i++) {
			chars[i] = ' ';
			cellAttrs[i] = attrs;
		}
	}
Clear characters before and at the given column

@param x the column, 0 up
@param attrs attributes to apply to the cleared (space) characters
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/vt/VtLine.java