This commit is contained in:
2026-03-05 23:46:48 +01:00
commit 64ee43df24
8 changed files with 578 additions and 0 deletions

5
editor.c Normal file
View File

@@ -0,0 +1,5 @@
#include "editor.h"
EditorState init_editor_state(sds init_text) {
return (EditorState){.cursor_pos = 4, .text = init_text};
}