I'm trying to get into the ncurses library, but it appears that no matter what I code, I get this in ncurses: 

With this code:
#include <stdio.h>
#include <ncurses.h>
void main()
{
    WINDOW *vin;
    initscr();
    start_color();
    init_pair(1,COLOR_YELLOW,COLOR_BLUE);
    init_pair(2,COLOR_BLUE,COLOR_YELLOW);
    init_pair(3,COLOR_BLUE,COLOR_WHITE); 
    vin=newwin(12,40,13,0);
    wmove(vin,0,5);
    wprintw(vin,"Hello, World.");
    wbkgd(vin,COLOR_PAIR(1));
    wrefresh(vin);
    getch();
    delwin(vin);
    endwin();
}
But, again, this seems to be an issue no matter what code I write whenever I compile with this:
gcc main.c -lncurses
Is this a bug with the Ubuntu release of ncurses? Or am I forgetting a library?
 
    