static String truncateAtNull(String str) {
		return str.split("\000", 2)[0];
	}
Pattern for the OSC color query sequence
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/vt/VtHandler.java