コード例 #1
0
ファイル: ANSI.cs プロジェクト: polytronicgr/GalaxyE
 public static string Attribute(string text, ANSIAttribute attribute)
 {
     return(string.Format("{0}[{1}m{2}{3}", (char)27, (int)attribute, text, ClearFormat()));
 }
コード例 #2
0
ファイル: ANSI.cs プロジェクト: polytronicgr/GalaxyE
 public static string Attribute(ANSIAttribute attribute)
 {
     return(string.Format("{0}[{1}m", (char)27, (int)attribute));
 }