@Override
	public String getText() {
		StringBuilder sb = new StringBuilder();
		line.gatherText(sb, 0, line.length());
		return sb.toString();
	}
Create a text field element

@param line the line of text from the {@link VtBuffer}
@param metrics the font metrics
@param fontSizeAdjustment the font size adjustment
@param colors the color resolver
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/TerminalTextFieldElement.java