aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2023-11-16 17:44:47 -0600
committerLibravatar bigfoot547 <[email protected]>2023-11-16 17:44:47 -0600
commitff292c3477497e03d4cffc1467691e1e6ce54a5c (patch)
treeb7cd01d3f440dafd07bc7538c116997f7fd3ac01 /src/main.c
initial commit
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..28823eb
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,19 @@
+#include <locale.h>
+#include <stdio.h>
+#include <unistd.h>
+
+#include "ui.h"
+
+int main(void)
+{
+ setlocale(LC_ALL, "");
+
+ printf("%d\n", getpid());
+ #if 0
+ volatile int dbg = 1;
+ while (dbg);
+ #endif
+
+ ui_init();
+ ui_handle();
+}