From 6c4d699eeb7fb385b775041ba59487666e550612 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Fri, 22 Aug 2025 21:17:23 +0200 Subject: editor: start with the editor interface --- src/main.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 045ebdc..7ef8df0 100644 --- a/src/main.c +++ b/src/main.c @@ -16,13 +16,14 @@ */ #include -#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; } -- cgit v1.2.3