summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-06-21 13:51:24 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-06-21 13:51:24 +0300
commit3fed5969034c464e36358fc45a99b57b1f308c11 (patch)
tree874dfffb1612d63b03b0198d229f16fe52b96d6f /main.c
parent8e4a57e034d98777fc58ff90c542c96f18f0e575 (diff)
downloadwafflestone-3fed5969034c464e36358fc45a99b57b1f308c11.tar.xz
term_init() and term_cleanup(), mostly
Diffstat (limited to 'main.c')
-rw-r--r--main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/main.c b/main.c
index 8755687..5f5fc8c 100644
--- a/main.c
+++ b/main.c
@@ -1,5 +1,15 @@
#include <stdio.h>
+#include <unistd.h>
+
+#include "framebuffer.h"
int main(void) {
+ term_init();
+
fprintf(stderr, "Not yet implemented\n");
+
+ char c;
+ get_input(c);
+
+ term_cleanup();
}