REM
REM ncurses example - March 2009.
REM to be expanded to a very cool demo - PvE.
REM Modified to use ncursus INCLUDE file in June 2010 - PvE.
REM

INCLUDE "curses.bac"

REM Initialize, no stdscr is used in the program
initscr

REM Create window
window = newwin(3, 80, 5, 5)
box(window, 0, 0)

REM Print some text
mvwprintw(window, 1, 1, "%s", "Hello cruel world!")
wrefresh(window)

REM Cursor invisible
curs_set(0)

REM Wait for input
wgetch(window)

REM Cleanup
delwin(window)
curs_set(1)
endwin