summaryrefslogtreecommitdiff
path: root/mandlebrot_set.c
diff options
context:
space:
mode:
authorTanner Robison <[email protected]>2026-08-24 16:18:23 -0700
committerTanner Robison <[email protected]>2026-08-24 16:18:23 -0700
commitd84c42d5df0fb2dc8cd213f3f251e413345b22d6 (patch)
treefec56fc28e575ec17ea95d8e3d90657c8afa5afe /mandlebrot_set.c
parent18d3f45424e89dab81331bf2048a6a1e6a397f94 (diff)
functioning
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;
-}