コード例 #1
0
ファイル: Program.cs プロジェクト: doolb/CursesSharp
 static void get_color()
 {
     //chtype bold = (rand () % 2) ? A_BOLD : A_NORMAL;
     //attrset (COLOR_PAIR (rand () % 8) | bold);
     Curses.SetColor(rand.Next(1, 9), rand.NextBool() ? Attrs.NORMAL : Attrs.BOLD);
 }