@Override
	public void handleFullReset() {
		bb.clear();
		cb.clear();
		decoder.reset();
		vtCharsets.clear();
		curVtCharsetG = VtCharset.G.G0;
		curVtCharset = VtCharset.USASCII;

		layouts.clear();
		layoutCache.clear();
		bufPrimary.reset();
		bufAlternate.reset();
		buffer = bufPrimary;

		bracketedPaste = false;
		reportMousePress = false;
		reportMouseRelease = false;
		reportFocus = false;
		cursorKeyMode = KeyMode.NORMAL;
		keypadMode = KeyMode.NORMAL;
	}
Create a model

@param panel the panel to receive commands from the model's VT/ANSI parser
@param charset the charset for decoding bytes to characters
@param metrics font metrics for the monospaced terminal font
@param fontSizeAdjustment the font size adjustment
@param colors a resolver for ANSI colors
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/TerminalLayoutModel.java