diff options
author | cflip <cflip@cflip.net> | 2023-01-30 14:31:28 -0700 |
---|---|---|
committer | cflip <cflip@cflip.net> | 2023-01-30 14:31:28 -0700 |
commit | 24addd792a50ff47a904f819375bed32b32039a0 (patch) | |
tree | 144418ddc0dd45847ae76d69937b4d136203b848 /editor.h | |
parent | d2a225cd108507714d505d3c133fec6660e45c8d (diff) |
Move unsaved quit warning to editor.c
Diffstat (limited to 'editor.h')
-rw-r--r-- | editor.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -39,6 +39,7 @@ 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_try_quit(struct editor_state *editor); void editor_move_left(struct editor_state *); void editor_move_right(struct editor_state *); |