summaryrefslogtreecommitdiff
path: root/mandlebrot_set.c
diff options
context:
space:
mode:
Diffstat (limited to 'mandlebrot_set.c')
-rw-r--r--mandlebrot_set.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/mandlebrot_set.c b/mandlebrot_set.c
deleted file mode 100644
index 50bb453..0000000
--- a/mandlebrot_set.c
+++ /dev/null
@@ -1,32 +0,0 @@
-#include <stdio.h>
-#include <stddef.h>
-#include <curses.h>
-#include <unistd.h>
-
-int get_next_frame();
-
-int main() {
- initscr();
- noecho(); //dont echo user input
- cbreak(); //dont buffer user input
-
- start_color();
-
- int max_x;
- int max_y;
- getmaxyx(stdscr, max_y, max_x);
-
- int y = max_y * 0.5;
- int x = (max_x * 0.5) - 6;
-
- mvwprintw(stdscr, y, x, "Hello world");
-
- refresh();
-
- attroff(1);
- attroff(2);
- getch();
- endwin();
-
- return 0;
-}