@Override
	public boolean contains(int x, int y) {
		return (x >= startX) && (x < startX + getWidth()) && (y >= -element.getHeightAbove()) &&
			(y < element.getHeightBelow());
	}
Paint a big cursor, so people can actually see it. Also, don't check column number. The
cursor is frequently past the end of the text, e.g., after pressing space in vim.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/TerminalTextField.java