public static string Attribute(string text, ANSIAttribute attribute) { return(string.Format("{0}[{1}m{2}{3}", (char)27, (int)attribute, text, ClearFormat())); }
public static string Attribute(ANSIAttribute attribute) { return(string.Format("{0}[{1}m", (char)27, (int)attribute)); }