public int getCursorColumn() {
		return model.getCursorColumn();
	}
Set the terminal to fit the window size.

<p>
Immediately fit the terminal to the window. It will also respond to the window resizing by
recalculating the rows and columns and adjusting the buffer's contents to fit. Whenever the
terminal size changes {@link TerminalListener#resized(short, short)} is invoked. The bottom
scrollbar is disabled, and the vertical scrollbar is always displayed, to avoid frenetic
horizontal resizing.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/TerminalPanel.java