projects
/
my-code
/
ivac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
completely removed ncurses, added minimal audio functions
[my-code/ivac.git]
/
src
/
display.c
diff --git
a/src/display.c
b/src/display.c
index
9390fbc
..
914ab63
100644
(file)
--- a/
src/display.c
+++ b/
src/display.c
@@
-10,27
+10,18
@@
int display_init(t_display *display) {
puts("[display] initializing 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) {
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) {
return D_SUCCESS;
}
int display_shutdown(t_display *display) {
- noraw();
- echo();
-
puts("[display] shutdown");
return D_SUCCESS;
puts("[display] shutdown");
return D_SUCCESS;