completely removed ncurses, added minimal audio functions
[my-code/ivac.git] / src / display.c
index 9390fbc..914ab63 100644 (file)
@@ -10,27 +10,18 @@ int display_init(t_display *display) {
 
   puts("[display] initializing display ...");
 
-  initscr();
-  raw();
-  noecho();
-  keypad(stdscr,TRUE);
-  getmaxyx(stdscr,display->max_y,display->max_x);
+  /* init stuff next .. */
 
   return D_SUCCESS;
 }
 
 int display_refresh(t_display *display) {
 
-  getmaxyx(stdscr,display->max_y,display->max_x);
-
   return D_SUCCESS;
 }
 
 int display_shutdown(t_display *display) {
 
-  noraw();
-  echo();
-
   puts("[display] shutdown");
 
   return D_SUCCESS;