diff options
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,7 @@ #include <iostream> #include <fstream> #include <string> +#include "editor.h" std::string* read_file(const std::string& filename) { std::ifstream file(filename); @@ -31,6 +32,9 @@ int main(int argc, char** argv) { return 1; } + Editor editor(contents); + editor.run_editor(); + delete contents; return 0; |
