private static string GetColoredCharacter(Putty.TerminalCharacter character) => GetCharacter(character) + Enum.GetName(typeof(ColorList2), character.ForegroundPaletteIndex);
private static string GetBackgroundColor(Putty.TerminalCharacter character) => Enum.GetName(typeof(ColorList2), character.BackgroundPaletteIndex);
private static char GetCharacter(Putty.TerminalCharacter character) => character.Character == 55328 ? ' ' : character.Character;