// TextEditor.h #include #include #include "Buffer.h" const char clear_command[] = "cls"; // for Windows //const char clear_command[] = "clear"; // for Linux and possibly Mac's class TextEditor { public: void run(); private: void display(); void execute_command(char command, bool & done); Buffer buffer_; int window_height_; std::string error_message_; };