From 24addd792a50ff47a904f819375bed32b32039a0 Mon Sep 17 00:00:00 2001 From: cflip Date: Mon, 30 Jan 2023 14:31:28 -0700 Subject: Move unsaved quit warning to editor.c --- editor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'editor.h') diff --git a/editor.h b/editor.h index f8fbfa8..00695fe 100644 --- a/editor.h +++ b/editor.h @@ -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 *); -- cgit v1.2.3