public void sendText(CharSequence text) {
		for (int i = 0; i < text.length(); i++) {
			sendChar(text.charAt(i));
		}
	}
If I ever care to support Unicode, I may need to worry about surrogate pairs.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/TerminalAwtEventEncoder.java