fixed an issue with line numbers not being added to new lines
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user