aboutsummaryrefslogtreecommitdiffstats
path: root/src/runes.c
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-20 22:57:28 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-20 22:58:22 -0400
commitd6f244f7d9f52462bafb608f23494707eeb24751 (patch)
tree8b2cab0559f4fce36b20896b24b38b54b6267400 /src/runes.c
parent29f45358ccc638f7c2ce951e03d91bbd02d6a109 (diff)
downloadrunes-d6f244f7d9f52462bafb608f23494707eeb24751.tar.gz
runes-d6f244f7d9f52462bafb608f23494707eeb24751.zip
clean up the directory structure a bit
Diffstat (limited to 'src/runes.c')
-rw-r--r--src/runes.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/runes.c b/src/runes.c
new file mode 100644
index 0000000..b47796f
--- /dev/null
+++ b/src/runes.c
@@ -0,0 +1,19 @@
+#include <locale.h>
+#include <stdio.h>
+
+#include "runes.h"
+
+int main (int argc, char *argv[])
+{
+ RunesTerm t;
+
+ setlocale(LC_ALL, "");
+
+ runes_term_init(&t, argc, argv);
+
+ uv_run(t.loop, UV_RUN_DEFAULT);
+
+ runes_term_cleanup(&t);
+
+ return 0;
+}