public void setFixedTerminalSize(short cols, short rows) {
		this.fixedSize = true;
		scroller.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED);
		scroller.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
		resizeTerminal(cols, rows);
	}
Set the terminal to a fixed size.

<p>
The terminal will no longer respond to the window resizing, and scrollbars are displayed as
needed. If the terminal size changes as a result of this call,
{@link TerminalListener#resized(short, short)} is invoked.

@param cols the number of columns
@param rows the number of rows
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/TerminalPanel.java