diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2025-08-22 21:17:23 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2025-08-22 21:17:23 +0200 |
commit | 6c4d699eeb7fb385b775041ba59487666e550612 (patch) | |
tree | bbeed327d0b05b33c4c57809af2918be445728e2 /src/main.c | |
parent | 3926c3df7f94d8c99f1dc8d4996b1aa117aac5f9 (diff) |
editor: start with the editor interface
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; } |