#pragma once #include #include "buffer.h" #include "command.h" #include "global.h" #include "maybe.h" using namespace std; class Manager{ vector buffers; i64 activeIdx; bool should_quit=false; bool have_screen=false; Maybe runPrompt(const string &promptString); public: Manager(); void receive(const Command &cmd); void show(); int io(); };