aboutsummaryrefslogtreecommitdiffstats
path: root/editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor.h b/editor.h
index 43cfe77..509141f 100644
--- a/editor.h
+++ b/editor.h
@@ -9,10 +9,14 @@ class Editor {
Editor(std::vector<std::string>* contents);
int run_editor();
private:
+ const static int OUTPUT_LINE_MAX = 10;
+
std::vector<std::string>* m_contents;
int m_current_line;
int print_contents_on_line(int line) const;
+ int edit_command();
+ int edit_line(int line);
};
#endif