summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-06-09 16:00:13 +0300
committereug-vs <eug-vs@keemail.me>2021-06-09 16:00:28 +0300
commitc8b8b85bc4f24a10b86abbdf71ff47009ba73c55 (patch)
treefbf002048751e57af1fbf9a10b64affe14494e7b /src
parent7accae778e7f06317c3aa8d4c2fcdaa24cb1c093 (diff)
downloadc-chess-c8b8b85bc4f24a10b86abbdf71ff47009ba73c55.tar.gz
feat: initalize ncurses
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;
}