title: How do I redefine a color pair in ncurses?
body: <p>The title should say it all, so say I created a color pair like this:</p>
  
  <pre><code>init_pair(1, COLOR_RED, COLOR_BLACK);
  </code></pre>
  
  <p>And then I wanted to redefine it, like this:</p>
  
  <pre><code>init_pair(1, COLOR_GREEN, COLOR_BLUE);
  </code></pre>
  
  <p>Now this doesn't work, but are there any other functions that allow me to do so? Or heck, are there functions so that I can just use explicit foreground/background colors without using color pairs?</p>
  
  <p>Thanks in advance, and let me know if this isn't clear enough.</p>
  
  <hr>
  
  <p><strong>EDIT</strong>: After trying it out, you <em>can</em> redefine pairs using <code>init_pair</code>, and the problem in my code was somewhere else.</p>