From 5bc2a0d9b6be834755efe5b09f9795f7495e8483 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 9 Oct 2016 13:48:34 +0300 Subject: Add quit --- editor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor.h') diff --git a/editor.h b/editor.h index 9d2a773..6693446 100644 --- a/editor.h +++ b/editor.h @@ -14,11 +14,13 @@ class Editor { std::vector* m_contents; std::string m_filename; int m_current_line; + bool m_stopped; int print_contents_on_line(int line) const; int edit_command(); int move_to_command(); int write_command(); + int quit_command(); int edit_line(int line); int move_to_line(int line); -- cgit v1.3