fixed an issue with line numbers not being added to new lines

This commit is contained in:
FantasyPvP
2024-11-07 16:15:13 +00:00
parent bef5547d50
commit be32741af2
4 changed files with 17 additions and 2 deletions
+2
View File
@@ -41,6 +41,8 @@ int open_editor() {
delchar(&editor);
break;
case KEY_ENTER:
//pressed_enter(&editor);
move_cursor(&editor, 1, 0);
//TODO: next line
break;
case KEY_UP: