#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 promptString(const string &promptString); char promptChar(const string &promptString,const string &options,char def); public: Manager(); ~Manager(); void receive(const Command &cmd); void show(); int io(); };