int display_draw(t_display *display) {
+#ifndef USE_NCURSES
int x,y;
+#endif
#ifdef USE_NCURSES
mvprintw(0,0,"%s",display->screen);
- for(y=0;y<display->max_y;y++)
- for(x=0;x<display->max_x;x++)
- mvaddch(y,x,*(display->screen+y*display->max_x+x));
+ //for(y=0;y<display->max_y;y++)
+ // for(x=0;x<display->max_x;x++)
+ // mvaddch(y,x,*(display->screen+y*display->max_x+x));
refresh();
#else
for(y=0;y<display->max_y;y++) {