diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -16,13 +16,14 @@ */ #include <stdio.h> -#include "ui.h" +#include "editor.h" int main (int argc, char* argv[]) { - ui *ui = ui_create (); - ui_loop (ui); - ui_destroy (ui); + editor *ed = editor_create (); + editor_open (ed, "src/main.c"); + editor_display (ed); + editor_destroy (ed); return 0; } |