@Override
	public RowColLocation dataToScreenLocation(int dataRow, int dataColumn) {
		int column = element.getCharacterIndexForDataLocation(dataRow, dataColumn);
		if (column < 0) {
			return new DefaultRowColLocation(0, element.length());
		}
		return new RowColLocation(0, column);
	}
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