ncurses wrapper for lua