diff options
| author | Jan Tuomi <jan-sebastian.tuomi@aalto.fi> | 2016-10-09 13:48:34 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan-sebastian.tuomi@aalto.fi> | 2016-10-09 14:50:24 +0300 |
| commit | 5bc2a0d9b6be834755efe5b09f9795f7495e8483 (patch) | |
| tree | efe8f8393f648e279ac80f188a2bc889fb0d7c9a /editor.h | |
| parent | 40c4dfd312b24a7e012448e39a363c07fa1e8c5d (diff) | |
Add quit
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -14,11 +14,13 @@ class Editor { std::vector<std::string>* 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); |
