aboutsummaryrefslogtreecommitdiffstats
path: root/src/runes.c
blob: 5d0d2b75c7fb36c7ba8bdb75d0e3b3afa7b7ca0b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <locale.h>

#include "runes.h"
#include "loop.h"
#include "term.h"

int main (int argc, char *argv[])
{
    RunesLoop loop;
    RunesTerm t;

    setlocale(LC_ALL, "");

    runes_loop_init(&loop);
    runes_term_init(&t, &loop, argc, argv);

    runes_loop_run(&loop);

    runes_term_cleanup(&t);
    runes_loop_cleanup(&loop);

    return 0;
}