@Test
	@SuppressWarnings("resource")
	public void testSimulateLinuxPtyTypePastEol() throws Exception {
		terminalService = addPlugin(tool, TerminalPlugin.class);

		try (DefaultTerminal term = (DefaultTerminal) terminalService
				.createNullTerminal(Charset.forName("UTF-8"), buf -> {
				})) {
			term.setFixedSize(40, 25);

			send(term,
				title(name.getMethodName()),
				/**
				 * Echoing characters back works similarly to sending characters. When the last
				 * column is filled (the application knows the terminal width) Linux/bash sends an
				 * extra space to induce a line wrap, then sends CR.
				 */
				"123456789012345678901234567890123456789", // One before the last column
				"0 \r");

			assertEquals("1234567890123456789012345678901234567890", term.getLineText(0));
			assertEquals(" ", term.getLineText(1));
			assertEquals(0, term.getCursorColumn());
			assertEquals(1, term.getCursorRow());
		}
	}
Linux/bash goes one character past, sends CR, repeats the character, and
continues. No LF. The line feed occurs by virtue of the local line wrap.
Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/app/plugin/core/terminal/TerminalProviderTest.java