fixed some bugs in c versiosn

This commit is contained in:
FantasyPvP
2024-11-05 09:32:36 +00:00
parent 83a71ae0a1
commit b40ecc5bb1
9 changed files with 136 additions and 76 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ typedef struct {
int screen_line;
int screen_col;
bool editmode;
String* buffer;
String_t* buffer;
} Editor;
Editor new_editor();
@@ -15,4 +15,4 @@ void move_cursor(Editor* self, int x, int y);
void delchar(Editor* self);
void addchar(Editor* self, char c);
String* to_string(Editor* self);
String_t* to_string(Editor* self);