diff options
Diffstat (limited to 'editor.h')
-rw-r--r-- | editor.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -33,12 +33,14 @@ struct editor_state { * letter will be inserted when entering insert mode. */ int pressed_insert_key; + struct textbuf cmdline; }; void init_editor(struct editor_state* editor); void editor_set_status_message(struct editor_state* editor, const char* format, ...); char* editor_prompt(struct editor_state* editor, char* prompt, void (*callback)(struct editor_state*, char*, int)); +void editor_run_command(struct editor_state *editor); void editor_try_quit(struct editor_state *editor); void editor_move_left(struct editor_state *); |