title: Draw simple box using curses
body: <p>Just started to learn C and got a project using curses. I can't even get the simplest things to draw right now.</p>
  
  <p>Want to do a box and have the following code and it doesn't work. The screens is just black.</p>
  
  <p>What am I doing wrong?</p>
  
  <pre><code>#include    &lt;curses.h&gt;
  int main()
  {
      initscr();
      noecho();
      crmode();
  
      WINDOW * win = newwin(10, 10, 1, 1);
      wrefresh(win);
      refresh();
  
      getch();
      endwin();
  }
  </code></pre>