public ColorPair(ushort index, ushort foreground, ushort background) { Foreground = foreground; Background = background; Index = index; Curses.init_pair(index, foreground, background); }