aboutsummaryrefslogtreecommitdiffstats
path: root/src/runes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runes.c')
-rw-r--r--src/runes.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/runes.c b/src/runes.c
index c424ef6..393fda1 100644
--- a/src/runes.c
+++ b/src/runes.c
@@ -4,15 +4,18 @@
int main (int argc, char *argv[])
{
+ RunesLoop loop;
RunesTerm t;
setlocale(LC_ALL, "");
- runes_term_init(&t, argc, argv);
+ runes_loop_init(&loop);
+ runes_term_init(&t, &loop, argc, argv);
- runes_loop_run(&t);
+ runes_loop_run(&loop);
runes_term_cleanup(&t);
+ runes_loop_cleanup(&loop);
return 0;
}