private void createAttributes(Font font) {

		outputAttributes = new GAttributes(font, new GColor("color.fg.consoletextpane"));
		outputAttributes.addAttribute(CUSTOM_ATTRIBUTE_KEY, OUTPUT_ATTRIBUTE_VALUE);

		errorAttributes = new GAttributes(font, new GColor("color.fg.consoletextpane.error"));
		errorAttributes.addAttribute(CUSTOM_ATTRIBUTE_KEY, ERROR_ATTRIBUTE_VALUE);
	}
% of characters to delete when truncation is necessary
Ghidra/Features/Base/src/main/java/ghidra/framework/main/ConsoleTextPane.java