title: How to enable 32k color pairs in ncurses?
body: <p>I've read that ncurses can support up to 256 colors and up to 32k color pairs. While I managed to set up 256 colors by myself, I can't find any information on how to set up 32k color pairs.</p>
  
  <p>The result of </p>
  
  <pre><code>printf("%d - %d\n", COLORS, COLOR_PAIRS);
  </code></pre>
  
  <p>is</p>
  
  <pre><code>256 - 256
  </code></pre>
  
  <p>and while 2 colors and 2 color pairs may be enough for hardcore terminal fans, I'd like to know how to get the most colors out of the library.</p>