title: ncurses multi colors on screen
body: <p>I want to make a menu with <code>ncurses.h</code> and more than one color.
  I mean something like this:</p>
  
  <pre><code>┌────────────────────┐
  │░░░░░░░░░░░░░░░░░░░░│ &lt;- color 1
  │▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│ &lt;- color 2
  └────────────────────┘
  </code></pre>
  
  <p>But if I use <code>init_pair()</code>, <code>attron()</code>and <code>attroff()</code> the color of the whole screen is the same, and not like I've expected.</p>
  
  <pre><code>initscr();
  
  init_pair(0, COLOR_BLACK, COLOR_RED);
  init_pair(1, COLOR_BLACK, COLOR_GREEN);
  
  attron(0);
  printw("This should be printed in black with a red background!\n");
  refresh();
  
  attron(1);
  printw("And this in a green background!\n");
  refresh()    
  
  sleep(2);
  
  endwin();
  </code></pre>
  
  <p>What's wrong with this code?</p>
  
  <p>Thanks for every answer!</p>