#include "editor.h" EditorState init_editor_state(sds init_text) { return (EditorState){.cursor_pos = 4, .text = init_text}; }