summaryrefslogtreecommitdiff
path: root/manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'manager.h')
-rw-r--r--manager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/manager.h b/manager.h
index 55dfc96..80f9ef9 100644
--- a/manager.h
+++ b/manager.h
@@ -11,16 +11,18 @@ using namespace std;
class Manager{
- vector<Buffer> buffers;
+ vector<Buffer*> buffers;
i64 activeIdx;
bool should_quit=false;
bool have_screen=false;
- Maybe<string> runPrompt(const string &promptString);
+ Maybe<string> promptString(const string &promptString);
+ char promptChar(const string &promptString,const string &options,char def);
public:
Manager();
+ ~Manager();
void receive(const Command &cmd);
void show();