summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index ce974d6..49db27a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,7 +1,11 @@
-#include <stdio.h>
-
+#include <ncurses.h>
int main() {
- printf("Hello, world\n");
- return 0;
+ initscr();
+ printw("Hello, world!");
+ refresh();
+ getch();
+ endwin();
+
+ return 0;
}